K
K
KRHD2018-05-08 02:07:19
PHP
KRHD, 2018-05-08 02:07:19

How to make a regular match for a VK link?

there is a link
https://vk.com/wall214553322_39
how can I check that it is written correctly, taking into account the fact that after wall there can be unlimited numbers, and after _ too

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThunderCat, 2018-05-08
@ThunderCat

/https:\/\/vk\.com\/wall[0-9]+_[0-9]+/
PS: Congratulations on your 100th question! )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question