Regular Expression Need Help On
Posted: Thu Nov 30, 2006 8:01 pm
Hi i need to remove the -3**** number after my words but before the .html
<a href="North-East-30404.html">North East</a>
<a href="North-West-30426.html">North West</a>
<a href="South-East-30448.html">South East</a>
so I end up with the following
<a href="North-East.html">North East</a>
<a href="North-West.html">North West</a>
<a href="South-East.html">South East</a>
I have to many to do by hand. What regular expression could i use to do this? any suggestions?
Thanks
<a href="North-East-30404.html">North East</a>
<a href="North-West-30426.html">North West</a>
<a href="South-East-30448.html">South East</a>
so I end up with the following
<a href="North-East.html">North East</a>
<a href="North-West.html">North West</a>
<a href="South-East.html">South East</a>
I have to many to do by hand. What regular expression could i use to do this? any suggestions?
Thanks