Categories
How to extract string by php regular expression?
There is a link to a page, like " site/page/15446 ". I need to replace this line with the desired route, and this requires a page number. In this example, 15446 . And how can it be extracted?
Answer the question
In order to leave comments, you need to log in
preg_match , the third parameter.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question