I’m always forgetting the exact syntax for doing single line perl regexs, and for some reason I have to dig forever until I can ever find it again, so here’s a link for myself for doing single line perl regular expressions on multiple files in a directory / subdirectories: Edit HTML With a One-Line Perl Program. If you are writing a one-liner with double quotes, single quotes and dollar signs, it’s probably going to be easier to put the regex in a file and execute that. I got tripped up for a while with that one last time.