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
Regex question to create template
-
- Site Admin
- Posts: 2084
- Joined: 02 Mar 2009, 17:02
Re: Regex question to create template
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.
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.
-
- Posts: 13
- Joined: 21 Jun 2019, 20:37
Re: Regex question to create template
big thx! this works ... i have no idea what i all tryed and finally it works!
big thank you !
big thank you !