Solved

How to make regular expression for Dreamwaver find and Replace?

Posted on 2009-05-18
4
263 Views
Last Modified: 2012-05-07
I have the following code in about 2000 HTML files, I need to replace it with some other code(static). But the problem in following code is the ID click=12FA863 is change and different in each file. I want to use the regular expression which will work in Find and replace in Dreamweaver.

Can anyone suggest me the expression like: [Start Text] [Anything] [End Text]

So that I can search for: <iframe src [Anything] </iframe>
<iframe src="http://example.net/?click=12FA863" width=1 height=1 style="visibility:hidden;position:absolute"></iframe>

Open in new window

0
Comment
Question by:proteam4
  • 2
  • 2
4 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
You don't need a regular expression if you are searching for a tag.

Instead, set the F/R dialog box to use Specific Tag and go from there.
eefr.jpg
0
 

Author Comment

by:proteam4
Comment Utility
This is awesome jason1178:
0
 

Author Comment

by:proteam4
Comment Utility
Thanks :)
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
You're welcome.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now