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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login