Answer the question
In order to leave comments, you need to log in
What should be the regular expression to get such a part?
There is a line like:
../../../../images/catalog/ХХ/ХХ/3929_3930_20130307095924.jpg
Answer the question
In order to leave comments, you need to log in
Regexps are not needed. It is enough to split the string on the separator "/" and take the last element from the resulting list.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question