Regular Expressions 101

matching all br for replace

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
<\/?[b|B][r|R] ?\/?>
/
gm

Description

preg_replace( '', '%newline%', $string )

Submitted by Anonymous