[rt-users] regex help

Jim Meyer purp at acm.org
Fri Jun 23 13:05:24 EDT 2006


Hello!

On 6/23/06, Justin Lim <jlim at sullung.com> wrote:
> what i am trying to get is the xxxxxxx out of "Name : xxxxxxxxxx" where the
> end of the line can be \n or <br> or <br /> or <br/>

m/Name:\s*([^<]*)(?:<br\s*\/?>)?$/

Might work. =]

--j, who likes a good regex.
-- 
Jim Meyer, Geek at Large                                    purp at acm.org



More information about the rt-users mailing list