EditPad Regex replacement

61 Views Asked by At

I have a bunch of JSON data with entries like this:

"FILENAME":"/DownloadFile2.aspx?File=q%3a%5cPeople%5c1026732%5c819%5cLetters%5cAttend1026732160213.pdf",

I want to replace all of them with this:

"FILENAME":"/DownloadFile2.aspx?File=filename.pdf",

How can I use regex to replace them all?

1

There are 1 best solutions below

0
Chris Lear On BEST ANSWER

In the search, put File=.*\.pdf In the replace, put File=filename.pdf