Answer the question
In order to leave comments, you need to log in
How to add 1 line of regular expression for notepad?
There is a line href="http://web.archive.org/web/20150908161337/
I have a website, this line /20150908161337/
is different on different pages, you need to add a regular expression so that it takes into account any characters in this block and deletes this section of code. href="http://web.archive.org/web/20150908161337/
so that the search and replace occurs when it finds this block, and does not change the data after it.
I wrote like this:
Answer the question
In order to leave comments, you need to log in
"http:\/\/web\.archive\.org\/web\/[0-9]+\/([^"]+)"
// search pattern "$1"
// replace pattern
Example on jsfiddle
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question