Ezra Zygmuntowicz <ezra / yakima-herald.com> wrote:
> 
> Nikolai-
>      Thank you. I have inherited a ton of NASTY php code like this at  
> the newspaper I work at. I am rewriting it all in rails and ruby cgi  
> scripts. But the guy who wrote this stuff is no longer here and I  
> think he liked making his code as obsfuscated as possible in order to  
> keep his job secure. I am by no means a regex master so digesting  
> volumes of stuff like this hurts my head. Thank you for the help.

http://www.weitz.de/regex-coach/ is a nice way to interactively test
regexps as you develop them.

martin