It is currently July 20th, 2025, 1:39 pm



Post new topic Reply to topic  [ 125 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next
Author Message
 Post subject: Re: Replacements help.
PostPosted: August 14th, 2024, 11:39 am 

Joined: March 20th, 2016, 12:31 pm
Posts: 49
Hello

Code:
Leahstheticss Room Chaturbate - Chat in a Live Adult Video Chat


Code:
Catanddickxxxs Room Chaturbate - Chat in a Live Adult Video Chat


after

Code:
Leahstheticss


Code:
Catanddickxxxs


- Chat in a Live Adult Video Chat May vary.

Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: August 14th, 2024, 6:58 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Looks like you just need the first word.

Search for:
Code:
(\w+).+


Replace with:
Code:
$1


Enable regex search.

Or if you want everything before word "Room" this would work too:

Search for:
Code:
(?i)(.+?)Room.+


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: August 15th, 2024, 9:14 am 

Joined: March 20th, 2016, 12:31 pm
Posts: 49
Sorry

Code:
Leahstheticss Room Chaturbate - Chat in a Live Adult Video Chat


Code:
Catanddickxxxs Room Chaturbate - Chat in a Live Adult Video Chat


after

Code:
Leahstheticss - Room Chaturbate


Code:
Catanddickxxxs - Room Chaturbate


Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: August 15th, 2024, 10:51 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Search for:
Code:
(?i)(.+?)\s*(Room Chaturbate).+


Replace with:
Code:
$1 - $2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: September 6th, 2024, 2:34 am 

Joined: March 20th, 2016, 12:31 pm
Posts: 49
Code:
BigTitsRoundAsses - Daisy Fuentes - Paying Rent With My Tits (14.09.2024) rq


after

Code:
BigTitsRoundAsses - Daisy Fuentes - Paying Rent With My Tits


Code:
PornForce - Matty - Passionate ROUGH SEX Makes Her Brain Melt (03.09.2024) rq


after

Code:
PornForce - Matty - Passionate ROUGH SEX Makes Her Brain Melt


Code:
LegalPorno - Nika Bride VG386 (05.09.2024) rq


after

Code:
LegalPorno - Nika Bride


Code:
LegalPorno - Isabel Rose EKS418 (05.09.2024) rq


after

Code:
LegalPorno - Isabel Rose


Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: September 6th, 2024, 7:42 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Search for:
Code:
([A-Z]+[0-9]+)?\s*\([0-9]{2}.[0-9]{2}.[0-9]{4}\).+?rq


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 4th, 2024, 6:50 am 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
Hi,

I could use some help with creating a specific tag from a specific rule.

I have a title called:
Brickzilla – Josie Tucker – Fucking a cutie – Onlyfans PPV

Tags created by my wordpress + TC are this:

Code:
Brickzilla,Josie,Tucker,Cutie,Fucking,Onlyfans,PPV


I would like to end up with TC adding these tags:
Code:
Brickzilla,Josie Tucker,Cutie,Fucking,Onlyfans PPV


which means the girls name which is in between the first and second hypen + the text after the last hyphen as 1 tag.

Is that possible to do ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 4th, 2024, 10:36 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
If the format is always the same you could add tags replacements to remove the second and the last comma.

Make sure to add the replacements under "Tags" tab:

To remove the last:

Search for:
Code:
(.+),\s*(.+)


Replace with:
Code:
$1 $2


Enable regex search.

To remove the second:
Search for:
Code:
(.+?,.+?),\s*(.+)


Replace with:
Code:
$1 $2


Enable regex search.

Tested, the final tags are as your second example then.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 4th, 2024, 12:54 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
Thanks Freddy,

the format is not always the same unfortunately so I have decided on a format to be my standard.

Little Asians - Ameena Green - I Just Want to Make My Master Pleased
DFXTRA - Gypsy Rose - Cheating With My Ex
Little Asians TeamSkeet - Ameena Green - I Just Want to Make My Master Pleased

3 examples of how the format can be - I am looking to make the text before the first hyphen 1 tag and make the text between the 2 hyphens 1 tag. Everything after the second hyphen is fine as individual tags.

in the above examples I am looking for these tags
Quote:
Little Asians
Ameena Green
DFXTRA
Gypsy Rose
Little Asians TeamSkeet


I know a comma is set for each word but the start of my file-titles can vary on number of words.
Not sure this can be done.

I can always manually edit the tags - but I am trying to setup full automatization between TC folder monitoring to directory posting in TP.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 4th, 2024, 7:12 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
You could add this line "Main" template:
Code:
<tags>{#fileName#}</tags>


That would add the whole filename as one tag, but you can split it a bit and remove the end with replacement (under "Tags" replacements):

Search for:
Code:
,(.+?)(\s*–|-)(.+?)(\s*–|-).+($|,)


Replace with:
Code:
$1,$3


Enable regex search.

However the name would still be added from "Generate tags" option as one word tags as well, and full name as well with this.

Like this (just one example):
Code:
Little, Asians, Ameena, Green, Just, Want, Make, Master, Pleased, Little Asians , Ameena Green

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 6th, 2024, 8:42 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
Thanks,

this is working great for titles with 2 words as the start of the title.
Example fully correct:

Code:
Title: Premium Bukkake - Breiny Zoe - Gloryhole #1
Tags: Breiny, Breiny Zoe, Gloryhole, Premium Bukkake, Zoe


I suspect the "wrong" tag I get is because of only 1 word in the title before the first hyphen - I did not test if there was 3 words but that would really be rare but for 1 or 2 words would be great to have the tags.

For this title I end up with 1 wrong tag "PAWGED Alexxa".

PAWGED - Alexxa Vice - Pawg Alexa Asks

Tags generated:
Code:
Alexa, Alexxa Vice, Asks, Pawg, PAWGED, PAWGED Alexxa, Vice


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 7th, 2024, 7:55 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
There was a mistake in replacement. Not sure how I missed it.

Update that replacement to this:

Search for:
Code:
,(.+?)\s*(–|-)(.+?)\s*(–|-).+($|,)


Replace with:
Code:
,$1,$3


Enable regex search.

Just update (don't add a second).

It will be fine for both cases.

Ignore the double tags (which are the same single words). One will be removed by themaPoster automatically.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 8th, 2024, 12:52 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
Thanks Freddy,

In the end it did not work out for me labeling my files this way - too long and too clunky titles.

I decided on a simpler naming:

Alexxa Vice - Pawg Alexa Asks

All I am looking for now is a way to make sure all posts gets a tag from the text before the hyphen,
TC will create Pawg, Alexa, Asks but I will be missing "Alexxa Vice"

Is there a fairly simple way to edit the above regex to match this instead ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 8th, 2024, 1:02 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Search for:
Code:
,(.+?)\s*(–|-).+($|,)


Replace with:
Code:
$1


Enable regex search.

Make sure the tags line is still in "Main" template as well:
Code:
<tags>{#fileName#}</tags>

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: December 8th, 2024, 3:35 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
Almost there I think.

I end up with a wrong tag if there is 1 or 3 words before the hyphen

example:

3 words:
Seka Black Test - Not a Boy Anymore
Tags:
Code:
Seka Black, Test, Boy, Anymore, Seka Black Test


1 word:
TheFlourishXXX - POV Kitty Kewpie and BMack In Da Woods
Tags:
Code:
TheFlourishXXX POV, Kitty, Kewpie, BMack, Da, Woods, TheFlourishXXX


Both generate the wanted tag - but also 1 more unwanted tag for some reason.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 125 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next

Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC