Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to make regular expression for Dreamwaver find and Replace?

Posted on 2009-05-18
4
Medium Priority
?
276 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

715 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