/    Sign up×
Community /Pin to ProfileBookmark

Using RQ Search and Replace for HTML tag editing

You can use RQ Search and Replace to search and replace HTML code for tags,attribute names, or values
For example you can change the font size of one font type without affecting any others
<font size=”2″ face=”Arial”> will be changed to <font size=”3″ face=”Arial”>, but font Verdana
<font size=”2″ face=”Verdana”> remain the same size=”2″.
You can delete or change HTML tags, it’s attributes or attributes values.
Don’t worry about attribute’s order in tag – program parsed HTML code and get all attributes and its values properly.
Any html code can be found and changed according to a search condition maintaining strict coding syntax
For example <font size=”2″ face=”Arial”> or < font face=’Arial’ size=2 > is the equvalent tags.
The program searches by the search parameters and changes according to those found parameters.

RQ Search and Replace is [B]free for single file operation[/B]

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@CJ123Feb 10.2007 — You can do that on dreamweaver and word ?
Copy linkTweet thisAlerts:
@CharlesFeb 10.2007 — And HTML Kit and Perl.
Copy linkTweet thisAlerts:
@diakinauthorFeb 10.2007 — >You can do that on dreamweaver and word

>And HTML Kit and Perl



Regexp?

May be, but it's not too easy ?

If you need to find tag contained 2 attributes size="2" [B]AND [/B] face="Arial"

like <font size="2" face="Arial">

and in found tag set color="#008080"

there are many combinations

<font size="2" face="Arial" color="#008000"> - color will changed

<font color='#008000' size=2 face='Arial' > - color will changed

<FONT face='aRIAL' size='2' > - color="#008080" will added

<font size="2" face="Verdana"> - color="#008080" will not added

..etc.. etc

In RQSR it's easy, using regexp - is not.

Of course regexp is power thing.

And HTMLKit is nice editor too ;-).
×

Success!

Help @diakin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...