How can I Delete one "-" in the line.

General discussions about Advanced Find and Replace
Post Reply
Artem

How can I Delete one "-" in the line.

Post by Artem » Mon Jan 31, 2005 5:32 pm

I want delete in the name of link {-}

source text

<a href="www.hip-hop.bestonline.com">hip-hop</a><br>
<a href="www.sport-fitness.bestonline.com">sport-fitness</a><br>
<a href="www.abc-wxz.bestonline.com">abc-wxz</a><br>
...
...

resulting text

<a href="www.hip-hop.bestonline.com">hip hop</a><br>
<a href="www.sport-fitness.bestonline.com">sport fitness</a><br>
<a href="www.abc-wxz.bestonline.com">abc wxz</a><br>
...
...

Abacre
Site Admin
Posts: 1198
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Post by Abacre » Mon Jan 31, 2005 5:32 pm

Hi,

Search for:
<a href="(.*)">(.*)-(.*)</a>

Replace with:
<a href="$1">$2 $3</a>

Artem

Post by Artem » Mon Jan 31, 2005 5:32 pm

Thaks you very much ROMAN!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests