E
E
Eugene2015-09-29 21:49:16
Regular Expressions
Eugene, 2015-09-29 21:49:16

How to cut the name and extension of a file from a link?

Hello,
Please help with the regular season (Datacol software). It is necessary to cut the file number with the extension from the link, moreover, the number changes from 1 to 15, an example of links:

http://thumbs0.ru.cdn.ya.ru/thumbs/static4/1/10/102/102488/1.jpg
http://thumbs0.ru.cdn.ya.ru/thumbs/static4/1/10/102/102488/15.jpg

Thanks to.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Inchin ☢, 2015-09-30
@Scumtron

[^/]+$

A
Alexander Taratin, 2015-09-29
@Taraflex

/(\d+\.jpg)$/gi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question