I
I
Igor Peregudov2017-04-01 10:28:59
JavaScript
Igor Peregudov, 2017-04-01 10:28:59

How to compose the following regular expression?


To work with api
vk , with
methods of working with the public wall - you need the public id or its "short name"
https://vk.com/club123123
https://vk.com/event123123
And get this:
proglib
123123
123123
123123
If short name is true and cut to short name, otherwise cut to id

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question