Trying to get Dreamweaver to find and delete tracking code on a link using regex

37 Views Asked by At

I'm trying to find the Dreamweaver search/replace regex for removing tracking code from an a tag by matching everything between ?elqTrackId and the quotation mark closing the href, and deleting that whole thing. Any suggestions?

I would think finding \?elqTrackId(.*)\" and replacing it with \" would do the trick, but it doesn't. Just finding what's between the question mark and the closing quote should also work.

0

There are 0 best solutions below