Hi Guys,

I am trying to write some regex to process a string. I have been reading up the boost documentation and noticed there are many differences between the way C++ regex is written and the way I am used to writing regex in web apps (J2EE, PHP etc). Can someone help me 'convert' the following string into something acceptable by boost.regex:


PHP's regular expression syntax is based on Perl, right? Boost uses Perl style regular expressions by default, so there shouldn't be a significant difference (at least not one you can't tweak in a few minutes of trial and error).