It is currently April 13th, 2021, 3:45 am



Post new topic Reply to topic  [ 239 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16
Author Message
 Post subject: Re: Replacements help topic.
PostPosted: February 21st, 2020, 2:53 pm 

Joined: February 17th, 2014, 2:03 pm
Posts: 29
before
Code:
[b]Voxengo SPAN Plus 1.10[/b]
[center][img]https://pixhost.icu/avaxhome/f4/2e/00632ef4_medium.jpg[/img][/center]
[b]Voxengo SPAN Plus 1.10 | 8 Mb[/b]


after
Code:
[b]Voxengo SPAN Plus 1.10[/b]
[center][img]https://pixhost.icu/avaxhome/f4/2e/00632ef4_medium.jpg[/img][/center]
[center][b]Voxengo SPAN Plus 1.10 | 8 Mb[/b][/center]


How to add a CENTER tag to any text ?
It is different for every post


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 22nd, 2020, 6:46 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 11040
Location: Earth
Search for:
Code:
(\[img\]https?://pixhost.+?\[/center\]\n)(.+)


Replace with:
Code:
$1[center]$2[/center]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: March 4th, 2020, 12:56 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 51
Code:
https://www.youtube.com/watch?v=G_1LP3Z6pW4


to

Code:
[embed]https://www.youtube.com/embed/G_1LP3Z6pW4[/embed]


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: March 4th, 2020, 7:34 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 11040
Location: Earth
Search for:
Code:
https?://.*?youtube\.com.+


Replace with:
Code:
[embed]$0[/embed]


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: March 5th, 2020, 2:02 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 51
Freddy wrote:
Search for:
Code:
https?://.*?youtube\.com.+


Replace with:
Code:
[embed]$0[/embed]


Enable regex.


yes but i wanna change also

watch?v=

to

embed/


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: March 6th, 2020, 6:02 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 11040
Location: Earth
You just wrote the replacement :)))

Just add simple (not regex) replacement:

Search for:
Code:
watch?v=


Replace with:
Code:
embed/

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: May 15th, 2020, 4:11 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 51
Code:
from

Text

This is just a text



This is just a text 2



This is just a text 3

to

Text

This is just a text
This is just a text 2
This is just a text 3


basically remove exactly 3 empty lines but not single lines


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: May 15th, 2020, 4:39 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 11040
Location: Earth
Search for:
Code:
\n{3,}


Replace with:
Code:
\n\n


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 28th, 2021, 12:06 pm 

Joined: January 28th, 2021, 11:57 am
Posts: 4
Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 28th, 2021, 12:06 pm 

Joined: January 28th, 2021, 11:57 am
Posts: 4
Before

Code:
[url=https://imagetwist.com/q1hhixpwo0nv/15304064.jpg.html][img]https://img202.imagetwist.com/th/35728/q1hhixpwo0nv.jpg[/img][/url]
★無 ★ 2名 HD 地下鉄追跡美女便所放尿 6
商品番号:15304064
配信開始日:2019年11月17日 12時
還元率:—
売り手様:Davidpiano
ファイル形式:video/mp4
ファイルサイズ:377.34 MB
再生時間:00:20:43画面サイズ:幅1280px × 高さ720pxビットレート:4000K
[b]Link Online:[/b]
[code]https://aparat.cam/t81tp590459f/15304064.mp4.html[/code]


After

Code:
[url=https://imagetwist.com/q1hhixpwo0nv/15304064.jpg.html][img]https://img202.imagetwist.com/th/35728/q1hhixpwo0nv.jpg[/img][/url]
[b]Link Online:[/b]
[code]https://aparat.cam/t81tp590459f/15304064.mp4.html[/code]


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 29th, 2021, 8:43 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 11040
Location: Earth
Search for:
Code:
(?si)(\[url=.+?\[/url\]).+?(\[b\]Link Online)


Replace with:
Code:
$1\n$2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 30th, 2021, 6:41 am 

Joined: January 28th, 2021, 11:57 am
Posts: 4
Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 22nd, 2021, 5:26 am 

Joined: January 28th, 2021, 11:57 am
Posts: 4
Before
Code:
<div class="card mb-3">
sfgfg
ggh
</div>
</div>
<div class="card mb-3">
sdfgsfg
dgfhdfgh
</div>
</div>
<div class="card mb-3">
fgsdfgg
dghdfgh
</div>
</div>


After
Code:
<div class="card mb-3">
sfgfg
dghdfg
</div>
</div>

<div class="card mb-3">
sdfgsfg
dfghdg
</div>
</div>

<div class="card mb-3">
fgsdfgg
dfghhdgf
</div>
</div>


Thank you.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 22nd, 2021, 8:41 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 11040
Location: Earth
Search for:
Code:
<div class="card mb-3">


Replace with:
Code:
\n<div class="card mb-3">


Simple replacement (not regex).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Who is online

Users browsing this forum: No registered users and 4 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