Fast solution for your example:

search: \.ru/(\d+)/(\d+)/([0-9\-]+)/{0,}(\d{0,})
replace: $1_$2_$3_$4.ext

It isn't ideal, cause you will need in second step search for: _.ext and replace
it with .ext

-- 
<https://forum.pspad.com/read.php?2,73181,73198>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem