Help with regex find/replace in Dreamweaver
Posted: Tue Mar 20, 2012 9:31 am
Hello,
I need help with a regex find and replace. I want to replace this string
'showPopUp(url, title, width, height)'
with this string
'showHidePup(url, title)'
The name of the function changes and the width height attributes are no longer needed. I have the regex that finds the first string
But how can I replace it with a new function name and remove those last 2 attributes without changing the 'url' and 'title' attributes?
I need help with a regex find and replace. I want to replace this string
'showPopUp(url, title, width, height)'
with this string
'showHidePup(url, title)'
The name of the function changes and the width height attributes are no longer needed. I have the regex that finds the first string
Code: Select all
showPopUp\(.+\)