themaCreator http://creator.themasoftware.com/forum/ |
|
Replacements help. http://creator.themasoftware.com/forum/viewtopic.php?f=4&t=7222 |
Page 2 of 6 |
Author: | geokasur [ March 20th, 2022, 4:17 am ] |
Post subject: | Re: Replacement help me please |
Freddy wrote: Or this would remove the second brackets (does not matter what comes before and it would keep text after the brackets if you would have any useful info there): Search for: Code: (.+?\(.+)\(.+?\)\s? Replace with: Code: $1 Enable regex search. its work for me thank your very much |
Author: | Crackpot [ April 12th, 2022, 3:49 am ] |
Post subject: | Re: Replacements help. |
input Code: [img]https://image.tmdb.org/t/p/w300/c5gkRTLbQnA9M2li2hDmXRfZ0g3.jpg https://image.tmdb.org/t/p/w300/c5gkRTLbQnA9M2li2hDmXRfZ0g3.jpg[/img] output Code: [img]https://image.tmdb.org/t/p/w300/c5gkRTLbQnA9M2li2hDmXRfZ0g3.jpg[/img]
|
Author: | Freddy [ April 12th, 2022, 6:07 pm ] |
Post subject: | Re: Replacements help. |
Why do you have two links? It would be easier just to remove one from the template. |
Author: | Crackpot [ April 13th, 2022, 3:39 am ] |
Post subject: | Re: Replacements help. |
i using two image host for a selected section. so it add two image link. like one image host for one site and another one is other site. or may be can do this replacement? input Code: [img]line1 line2[/img] output Code: [img]line1[/img]
|
Author: | Freddy [ April 13th, 2022, 5:13 am ] |
Post subject: | Re: Replacements help. |
You have a mistake in your template. Looks like you added "img" tag in wrong place (it should be added inside cover / preview template [not in "Main"]). Make it like this: Code: [img]host1[/img] [img]host2[/img] Then for needed forum just add one host as banned host and it will remove it automatically. |
Author: | Crackpot [ April 14th, 2022, 1:21 am ] |
Post subject: | Re: Replacements help. |
my bad, problem solved! |
Author: | Pablo01 [ May 22nd, 2022, 12:07 pm ] |
Post subject: | Re: Replacements help. |
Hi, I am looking for a way to strip some text in my subject. 2 examples: Text here - more text here [HD/720p/1.77 GB] text here again Text here - more text here [HD/1080p/4.17 GB] I want to strip everything after [ but the [ must also be deleted from the subject. |
Author: | Freddy [ May 22nd, 2022, 3:45 pm ] |
Post subject: | Re: Replacements help. |
Search for: Code: \[.+?\]\s?(.*) Replace with: Code: $1 Enable regex search. |
Author: | geokasur [ July 21st, 2022, 1:12 am ] |
Post subject: | Re: Replacements help. |
Filename Replacement help 220720 Kaisi Teri Khudgharzi ep11 220720 Kaisi Teri Khudgharzi ep11 (Dure Fishan, Danish Taimoor) 220720 Kaisi Teri Khudgharzi (Dure Fishan, Danish Taimoor) i want to replace the file name 220720.Kaisi.S01E11 220720.Kaisi.S01E11 220720.Kaisi.Teri 220720 Kaisi Teri Khudgharzi ep11 : 220720.Kaisi.S01E11 220720 Kaisi Teri Khudgharzi ep11 (Dure Fishan, Danish Taimoor) : 220720.Kaisi.S01E11 220720 Kaisi Teri Khudgharzi (Dure Fishan, Danish Taimoor) : 220720.Kaisi.Teri thanks in advance |
Author: | Freddy [ July 22nd, 2022, 4:44 am ] |
Post subject: | Re: Replacements help. |
Search for: Code: ([0-9]+.+?)Teri.+?ep([0-9]+).* Replace with: Code: $1 S01E$2 Enable regex search. Search for: Code: ([0-9]+.+?)Khudgharzi.+ Replace with: Code: $1 Enable regex search. |
Author: | ad-team [ October 7th, 2022, 7:57 pm ] |
Post subject: | Re: Replacements help. |
Before Code: Monster High The Movie 2022 1080p WEBRip x265-RARBG After Code: Monster High The Movie (2022) Thanks |
Author: | Freddy [ October 8th, 2022, 7:22 am ] |
Post subject: | Re: Replacements help. |
Search for: Code: (.+?)([0-9]{4}).+ Replace with: Code: $1($2) Enable regex search. |
Author: | geokasur [ December 25th, 2022, 5:14 pm ] |
Post subject: | Re: Replacements help. |
how to add if missing the closing parenthesis 220720 Kaisi Teri Khudgharzi (Dure Fishan, Danish Taimoor |
Author: | Freddy [ December 26th, 2022, 11:16 am ] |
Post subject: | Re: Replacements help. |
Search for: Code: .+?\((?!.*\)).+ Replace with: Code: $0) Enable regex search. |
Author: | geokasur [ December 26th, 2022, 8:15 pm ] |
Post subject: | Re: Replacements help. |
many thanks its work for me |
Page 2 of 6 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |