My favorite regex of all time
As someone who makes much of his living rehabilitating old perl scripts, please, if you must use such things, use them like this:<p>[ -~] #match only printable characters<p>It takes 5 seconds longer and with regexes, just knowing what the damn thing is trying to do is half the battle. When you use a regex, use a comment. Its the civil thing to do.