1

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?

MB34
  • 4,210
  • 12
  • 59
  • 110

1 Answers1

0

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

Chris Lear
  • 6,592
  • 1
  • 18
  • 26