Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

How to make regular expression for Dreamwaver find and Replace?

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
proteam4
Asked:
proteam4
  • 2
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
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
 
proteam4Author Commented:
This is awesome jason1178:
0
 
proteam4Author Commented:
Thanks :)
0
 
Jason C. LevineNo oneCommented:
You're welcome.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now