How Can I Convert Uppercase HTML to Lowercase?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Michael-R
Posts: 1
Joined: Wed Jul 22, 2009 6:24 pm

How Can I Convert Uppercase HTML to Lowercase?

Post by Michael-R »

Hello,

Often when I export HTML code from an application, all of the HTML tags are in uppercase. As you probably know the XHTML standard requires HTML tags to be in lowercase.

My question is how can I use TextPad to convert all of my uppercase HTML tags to lowercase HTML tags?

Thanks,

Michael-R
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: </?[a-z0-9_.:-]+
Replace with: \L\0

[X] Regular expression

Replace All
or similar.
Post Reply