Capitalize words Not HTML OR URLS

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
SELVOL
Posts: 15
Joined: Wed Oct 21, 2009 11:16 am

Capitalize words Not HTML OR URLS

Post by SELVOL »

I am attempting to capitalize all the words in an html page.

I Ctrl+a The goto Captialize.
But Textpad capitalizes everything including the URLS in <a href=**

So
<a href="http://cat.com">
becomes
<A Href="Http://Cat.Com">

Which is no good.

Any help is apprecited
Selvol
User avatar
helios
Posts: 710
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

Have a look at some of the macros on the Add-ons page and see if you can use one of those:

http://www.textpad.com/add-ons/macros.html
Helios Software Solutions
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

I suggest CSS for such a job - in my opinion for such things the text in the html page should not be changed at all.


text-transform: capitalize;
Post Reply