I wanna run a regex similar to this: <tr> <td> <b>B([eo])ast</b> </td> </tr> Code (markup): I want that to be my actual regex pattern - meaning I want to match that string in any HTML file. The tabs and spaces are not exact, but that string, containing boast or beast is on every page - and I want to run this on at least 10 HTML files. No idea how to get the multiline, the HTML and the whitespace together, Cheers, BP