Answer the question
In order to leave comments, you need to log in
How to write a regular expression for a string?
Hello. Can someone help a beginner, I'm weak in regular expressions, I don't know how to get the right part out of the string. The line template is:
ru.site.com/product/название-продукта-латиницей-которое-может-быть-от-20-до-100-символов/идентификатор(число)-от-10-до-12символов.html?куча-get-параметров
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question