Hi,
I have a folder pulled from a wordpress installation, >1000 files. Some php code is throwing an error due to trailing spaces on the very last line (I cleaned up an iframe injection on some final lines of pages, and did find/replace with a space, but didn't know that that would throw off all my code).
What's the most efficient way to chop those spaces? I've never run a regex before, but know that's what I would use. Help!