V
V
Vladislav2018-03-18 22:31:59
htaccess
Vladislav, 2018-03-18 22:31:59

htaccess regex?

Hello everyone. Help htacess, he himself is not very strong
there is a picture of my path/121212_12121.???x???.jpg|png
where the questions will be numbers, such as the size of the picture, they must be removed to get
my path/121212_12121. jpg|png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2018-03-19
@ddddasass

(.+)\.[0-9]{1,}x[0-9]{1,}\.(jpg|png)
(.+)- any characters from 1
\.- dot character
[0-9]{1,}- numbers from 0 to 9, from one time
(jpg|png)- or or

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question