Regular Expressions 101

Library entries

Remove br tags inside anchor tags

Vote

3

Regular Expression
pcre

/
<a ([^>]*)>([^<]*)(<\/?br\/?>)+([^<]*)<\/a
/
i

Description

Loading markdown...
Submitted by anonymous - 6 years ago