Solved

How to make regular expression for Dreamwaver find and Replace?

Posted on 2009-05-18
4
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 24416886
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
ID: 24416911
This is awesome jason1178:
0
 

Author Comment

by:proteam4
ID: 24416913
Thanks :)
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 24416923
You're welcome.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Checking https returns 301 21 63
php date function ( diffrence between two dates ) 6 43
What is define("__APPROOT__", __DIR__); 6 33
Special characters in a TCPDF 4 29
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

697 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