Y
Y
Yarik2020-04-23 10:54:34
JavaScript
Yarik, 2020-04-23 10:54:34

Regular search by url?

how to do something in addresses like:
/первая_часть/wall
"first_part" must be equal please help me in regular expressions I'm not strong /^[a-zA-Z0-9_]+$/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-04-23
@Yariik

the question is not very clear,
maybe /^\/[a-zA-Z0-9_]+\/wall$/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question