About
Pricing
Community
Teams
Start Free Trial
Log in
smudgemouse
asked on
12/21/2012
Dreamweaver Search and Replace with Wildcard?
Have several thousand instances of:
mysql_free_result($rst_air
port);
where ($rst...) will always be different.
Simply need to remove all of these lines. Is there a way?
Adobe Dreamweaver
3
1
Last Comment
smudgemouse
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Peter Hart
12/21/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jason C. Levine
12/21/2012
Yes, Dreamweaver's search and replace supports regular expressions. When you invoke the Search and Replace dialog, switch it to Code View and find the Use Regex checkbox on the dialog and check it. The search would look something like this:
mysql_free_result\(\$rst.*
\);
Try doing a search only on the above.
http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_pt1.html
http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_pt2.html
smudgemouse
12/21/2012
ASKER
Thank you; very fast
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
mysql_free_result\(\$rst.*
Try doing a search only on the above.
http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_pt1.html
http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_pt2.html