Page 1 of 1

Regex question to create template

Posted: 21 Jun 2019, 20:51
by neroneronerop
Hi all,

first off all sorry if there is a topic about this but if i havenĀ“t found it :/

i am trying to create a template for www.blondepornjpg.com .... thats not the problem... the problem is i also try to create (sort) the folders but the foldernames should be from the previous page....

Example:
(URL with "foldername" i need) http://www.blondepornjpg.com/blonde-showing-off-3.shtml
linked to
(Piclink without "foldername" ) http://fuckjpg.com/201906/18/1619882707.jpg

Is it possible to extract "blonde-showing-off-3" from there?

Big thx in advance for your help and sorry about the bad english

Re: Regex question to create template

Posted: 22 Jun 2019, 12:09
by Maxim
Yes, of course it is possible. Here is the RE:

Expression: blondepornjpg\.com/([^/\?#]+)\.shtml
Result: [#1]

Use it in the [ Save -> Sub-folders ] section of the project properties, "Expert" tab, "Use target file parent URL Regular Expression to create a sub-folder" option.

Re: Regex question to create template

Posted: 22 Jun 2019, 17:25
by neroneronerop
big thx! this works ... i have no idea what i all tryed and finally it works!

big thank you !