Take the 2-minute tour ×  This is the sample text that I'm
working with. I'm using Coda to do a find and replace...  <td
width="20%"><div > Item #</div></td> <td width="20%"><div > Pole
Tip</div></td> <td width="20%"><div > Length</div></td> <td
width="20%"><div > Test Weight (lbs.)</div></td> <td
width="20%"><div > Price</div></td>  I want to get rid of the
div tags that markup the text inside the td.  Ex...I want to
change this:   to this:  <td width="20%">Item #</td>  So far I
have this as a regex:  <div >[\s\w\(\)#]*</div>  However this
matches all of the above in my sample text EXCEPT:   In my
regex, I even tried to add the ( and )...what am I doing wrong?
share|improve this question While regexes might work for this
particular code, regexes are a fragile solution to parsing HTML
code. htmlparsing.com/regexes.html explains why. The safer
solution is to use a proper HTML parser. What language are you
using? –  Andy Lester Nov 28 '12 at 6:21 @AndyLester : I
inherited some HTML that I'm trying to clean up.