regular expression search and replace

Posted by Thoman on Stack Overflow See other posts from Stack Overflow or by Thoman
Published on 2010-06-02T10:31:38Z Indexed on 2010/06/02 10:43 UTC
Read the original article Hit count: 312

Filed under:
|
|

Hello This is some code

<br />  <br />  <br />   <br /> <br />  <br /> 

but

I want replace

<br /> of 4 with <hr />

And this output

<br />  <br />  <br />   <hr />  <br />   <br /> 

Please help me

© Stack Overflow or respective owner

Related posts about php

Related posts about regex