It is currently November 20th, 2018, 8:23 pm



Post new topic Reply to topic  [ 201 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14
Author Message
 Post subject: Re: Replacements help topic.
PostPosted: January 17th, 2018, 8:46 am 

Joined: December 30th, 2013, 3:54 pm
Posts: 165
Hey Freddy

I nned your help again

I want to replace everything beetwen those two words xzxzxz and zazaza
to
<imdbInfo>

before
Code:
xzxzxz

[color=green][b]~ Some text ~[/b][/color]






some text

[b]some text:[/b]
zazaza


after
Code:
<imdbInfo>


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 17th, 2018, 9:52 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9147
Location: Earth
Search for:
Code:
(?s)xzxzxz.+?zazaza


Replace with:
Code:
<imdbInfo>


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 17th, 2018, 7:58 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 165
Thank You Freddy

Take care :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 20th, 2018, 8:02 am 

Joined: December 30th, 2013, 3:54 pm
Posts: 165
Hey Freddy
Can you help me with this regex:

before:

Code:
https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.part1.rar
https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.part2.rar
https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.part3.rar


after

Code:
SOME TEXT

https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.part1.rar
https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.part2.rar
https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.part3.rar


and

Code:
https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.rar


Code:
SOME TEXT

https://1fichier.com/?0q313j6zl22l9mpbpp3vj/The.Spy.Who.Dumped.Me.2018.rar


Is possible to have one or two regex for those two replacements that will not intervene with each other:

Ofc the filenames and numer of links would be different each time.

I hope it can be done.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 21st, 2018, 6:01 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9147
Location: Earth
Search for:
Code:
(?is)https?://1fichier.+


Replace with:
Code:
SOME TEXT\n\n$0


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 21st, 2018, 7:24 am 

Joined: December 30th, 2013, 3:54 pm
Posts: 165
Great, it's working :)
Thank You


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 201 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14

Who is online

Users browsing this forum: No registered users and 1 guest


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