

You need to change the fixed part, but keep the variable part. You need to find some text, part of which is fixed and part is variable. This is the most common case of a regular expression.


(In HTML, quotation marks are rarely needed.in XHTML they are required.) A simple search/replace will do the trick, but you also have width=60px and many other widths. You want it to be updated to the XHTML-compliant width='120px' attribute. Suppose your HTML code includes width=120px. One of the great things about the Notepad++ editor is that it matches the regular expression strengths of these old veterans without hiding them in a forest of mysterious commands. One of the features of the great old programming editors (with legendary Unix names such as Vi and Emacs) was their ability to use regular expressions (aka regex) in search and replace operations.
