Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver Regular Expressions Help



10:39 pm on Sep 1, 2005 (gmt 0)

10+ Year Member

I'm trying to overhaul a site which has some javascript popup windows I'm getting rid of.

I'd like to use Dreamweaver's find and replace feature, but I'm having a hard time getting regular expressions to do what I need (but I'm fairly sure they can). I've tried, but I'm missing something.

I'd like to turn URLs similar to the following

<a onclick="openEnlarged(1004)" href="

into plain old <a href="

The 1004 number is a variable that changes for each of the hundreds of links that need to change.

Any help is much appreciated.


4:01 am on Sep 3, 2005 (gmt 0)

10+ Year Member

OK, got it to work with a simple .* for the number.

I was trying to make it too complicated.


Featured Threads

Hot Threads This Week

Hot Threads This Month