Wednesday, February 11, 2009

wildcard regex in notepad

The general wildcard regex for notepad (simliar to % in sql) is (.*).

So to match both of these lines:

</option><option value="COM">COMPAQ ALPHA UNIX
</option><option value="DGV">DATA GENERAL AOS/VS


The regex/search value looks like:

</option><option value="(.*)">

Just don't forget to toggle search mode to "regular expression"
Post a Comment