

\D any character EXCEPT a decimal digit.The single, lowercase letters that identify special character classes may be reversed in meaning by using the uppercase letter: (If you are not sure, which is often the case, "escape" the punctuation mark-precede it with a backslash.) Whether or not they are special, if you want the mark itself, precede it with a backslash. Punctuation marks sometimes have a special meaning. \w (w stands for "word") any alphabetic (upper or lowercase), digit (0 through 9) or an underscore.\s (two characters, read as "escape s") matches any whitespace (space, tab, return or newline).a the letter "a" matches itself-most characters match just themselves.So here's a tiny regex summary (there are whole books written on the subject!) to get you started. You need to change the fixed part but preserve the variable part. You have some text to find, part of which is fixed and part of which is variable. in XHTML, they are mandatory.) A simple Find/Replace would do the trick, but you've also got width=60px and lots of other widths. You want that upgraded to an XHTML compatible attribute width='120px'.

The "Find" part of a Find/Replace dialog is one simple example. Regular expressions are used for matching string patterns. If you've never used regex before, we won't teach you too much in this one short page, but we'll get you started with a basic use. One of the great features of programmer's editor Notepad++ is that it matches these old veterans' regex strengths without hiding them in a forest of cryptic commands. One of the features of the great old programming editors (with legendary Unix names like Vi and Emacs) was their ability to use regular expressions (aka regex) in search and replace operations.
