Maljonic
Can't get enough of FH
- Joined
- Dec 22, 2003
- Messages
- 1,297
Has anyone used dreamweaver regular expressions before? I'm trying to remove a load of code, named anchors, in one go that is the same apart from some numbers:
<a name=001>001</a>
<a name=002>001</a>
<a name=003>001</a>
<a name=004>001</a>
and so on.
I want to remove all the anchors and just leave the 001 text behind. I'm told that using regular expressions is the way to go but I never tried it before.
I had a go at reading this Adobe - Developer Center : Introduction to Regular Expressions in Dreamweaver but the guy prattles on for ages and I can't quite figure out from what he says what I need to type in my search box to remove the right bits.
Can any give a simple explanation?
Thanks.
<a name=001>001</a>
<a name=002>001</a>
<a name=003>001</a>
<a name=004>001</a>
and so on.
I want to remove all the anchors and just leave the 001 text behind. I'm told that using regular expressions is the way to go but I never tried it before.
I had a go at reading this Adobe - Developer Center : Introduction to Regular Expressions in Dreamweaver but the guy prattles on for ages and I can't quite figure out from what he says what I need to type in my search box to remove the right bits.
Can any give a simple explanation?
Thanks.