View Single Post
Old 02-27-2012, 12:25 AM  
Bird
Confirmed User
 
Bird's Avatar
 
Join Date: Jan 2005
Location: Stockton
Posts: 4,365
I fucking hate regex...The most complicated thing I have ever been able to do is replace stuff in a series of numbers.

"[^"]*"

something like changing everything to <p>


<div id="1"></div>
<div id="2"></div>
<div id="3"></div>
<div id="4"></div>

Find
<div id="[^"]*"></div>
and replace with

<p id="[^"]*"></p>
results

<p id="1"></p>
<p id="2"></p>
<p id="3"></p>
<p id="4"></p>
__________________
ICQ:268731675
Bird is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote