O
O
Otrivin2018-02-07 09:47:53
Regular Expressions
Otrivin, 2018-02-07 09:47:53

How to write a regular expression to check the last character in a url?

Hello!
I need to write a regular expression to search for URLs that don't end in a slash in a bunch of files.
I tried to experiment with the PCRE constructor - something goes wrong, the slash is not taken into account.
How to make such a regular expression for Notepad++?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor, 2018-02-07
@Otrivin

I don't know what's in Notepad++, but the logic should be something like this:
www.rubular.com/r/FiPvtGp7Ur

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question