If you have CSS in the HTML files, move it to a stylesheet. The search will only check HTML files (there are a few filters there).
Aside from that... it really, truly doesn't matter if you remove spaces from the stylesheets.
If you really want, replace everything and then use Beautify to fix the indentation.
Searching for spaces only in the HTML is too complex to be done with a trivial regex, you need to use specialized tools. For example, BeautifulSoup in python. Tools that were written to parse HTML, whereas regex is designed to parse text strings and has no idea what is in them.
|