A
A
Albert Kazan2020-03-10 12:23:01
Regular Expressions
Albert Kazan, 2020-03-10 12:23:01

How to end such a regular expression?

Here I barely wrote the rule for htaccess. With all the examples inside at the link
https://regex101.com/r/0EgPDP/2

A list of what I could not write:

  1. Should not start with admin and public. At the same time, public* with endings must be available, for example, publication.
  2. The first group may optionally end with a slash / if the second group is missing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2020-03-10
@Farrien

https://regex101.com/r/0EgPDP/3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question