Help needed

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
alok_agarwal17
Posts: 4
Joined: Thu Mar 19, 2009 7:21 am

Help needed

Post by alok_agarwal17 »

Hii

i have selected some text , and now i wanted to replace that selected text with ant HTML tag like <i>selectedtext</i>

so how can i do this , i am unable to write a macro for this.

thanks

alok
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

The easiest way is to use the Clip Library. Open the HTML Tags clip library and double-click Font - Italic. That's it!

Since you posted this in the Regular Expressions forum, another way to do it is to select the text, open the Replace dialog, enter the following values:

Find what: selectedtext
Replace with: <i>&</i>
[x] Regular expression

and click Replace.

Andrew
Post Reply