O
O
Oleg2016-06-16 13:29:56
Regular Expressions
Oleg, 2016-06-16 13:29:56

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

1 answer(s)
A
Alexey Yarkov, 2016-06-16
Babyak @sagnio

"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 question

Ask a Question

731 491 924 answers to any question