Answer the question
In order to leave comments, you need to log in
How to write a regular expression for pattern checking?
I am doing some functionality on the site, where the admin indicates on which pages to perform a certain action, and he indicates by prescribing a URL template. For example: "*/projects/*/1080". Accordingly, asterisks are any value.
How can I check if the current URL is included in a given pattern?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question