homepage Welcome to WebmasterWorld Guest from 23.22.194.120
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Dreamweaver Regular Expressions Help
Spine




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

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.

 

Spine




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

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

I was trying to make it too complicated.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved