Quantcast
Channel: Replace variable in string with Regex in Notepad++ - Super User
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by DavidPostill for Replace variable in string with Regex in Notepad++

Remove everything between the double quotesMenu "Search">"Replace" (or Ctrl+H)Set "Find what" to alt="".*?""Set "Replace with" to alt=""""Enable "Regular expression"Click "Replace...

View Article



Replace variable in string with Regex in Notepad++

I'm new to Regex and Notepad++ need to remove variables from code. For example, remove everything between the double quotes in lines like this:alt=""Frontline Plus for Dogs and Cats""To leave me with...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images