Replace text that only contain specific characters
-
Hi All, I have text in following formats:
ASP1618099.jpg
ASP1618100.jpg
ASP1618101.jpgand need to change them with:
ASP1717099.jpg
ASP1717100.jpg
ASP1717101.jpgIt can be replaced with simply but the problem is that the file has multiple entries with same name and only extension is change like:
ASP1618099.png
ASP1618099.png
ASP1618099.pngNow I only want to change text with the extension of .jpg and do not want to change text having extension .png.
-
One way:
Find:
^ASP1618(\d{3})(?=\.jpg)
Repl:ASP1717${1}
Search mode: Regular expression -
@Alan-Kilborn Excellent bro , it worked zabardast