You also need to change the option below the “Regular Expressions Match New Line Characters” checkbox, “Additional Lines to Search for Regular Expressions”, from 0 to the maximum number of lines a tag could span. For example, if your tag is:

<td>first line
second line</td>

you need to set it to 1, as the tag is one line later than the

tag. the higher the number you set it, the slower the regex engine will work, as it will be looking at more lines.

You could try setting to 100 or 1000 and see how performance is.