It is currently March 28th, 2024, 7:34 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 50, 51, 52, 53, 54, 55, 56 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: December 15th, 2019, 12:59 am 
User avatar

Joined: March 15th, 2011, 5:44 pm
Posts: 119
^
Code:
https://regex101.com/r/0LCncD/1


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 15th, 2019, 1:53 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
thanks :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: January 15th, 2020, 7:06 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
before

Code:
08 - Season of Storms


After

Code:
Season of Storms

thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: January 15th, 2020, 8:19 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
^[0-9]+ -


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 1st, 2020, 12:09 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Few forum when i post require one little preview image in list i saw that the comand for enable it is:

Example
[IMG=3vljws]https://abload.de/img/3vljws.png[/IMG]


so i need replace this:

Code:
[IMG]URL Host Image/3vljws.png[/IMG]


with this

Code:
[IMG=3vljws]URL Host Image/3vljws.png[/IMG]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 1st, 2020, 4:25 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
[IMG]


Replace with:
Code:
[IMG=3vljws]


Simple replacement (not regex).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 1st, 2020, 9:10 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Sorry i explained it wrong

This its one Example for one pic but for every pic (cover i have one different result
Code:
[img]https://abload.de/img/3vljws.png[/img]
[img]https://abload.de/img/3feeees.png[/img]
[img]https://abload.de/img/43234s.png[/img]
[img]https://abload.de/img/434209320.jpg[/img]




so i need replace this:

Code:
[IMG]URL Host Image/ANYVALUE.png[/IMG]


with this

Code:
[IMG=ANYVALUE]URL Host Image/ANYVALUE.png[/IMG]


ANYVALUE change in every topic because everytime i upload one image this ANYVALUE change.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 2nd, 2020, 12:34 am 
User avatar

Joined: March 15th, 2011, 5:44 pm
Posts: 119
Try this...
https://regex101.com/r/keS8DE/1

This is with enabled regex.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 2nd, 2020, 6:30 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
It can be less complex. Like this:

Search for:
Code:
(?i)\[img\](.+/(.+?)\.(jpg|png))\[/img\]


Replace with:
Code:
[img=$2]$1[/img]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 2nd, 2020, 9:22 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Thx so much


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 3rd, 2020, 4:28 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
Hello
before
Code:
2020-03-07 New Zealand Listener


After

Code:
New Zealand Listener 2020-03-07

thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 3rd, 2020, 5:26 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
([0-9]{4}-[0-9]{2}-[0-9]{2})(.+)


Replace with:
Code:
$2 $1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 23rd, 2020, 5:18 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Idont know exactly the tag for wordpress may be if somebody know...it

i want make this


search for
https://www.youtube.com/any link

i need have
the Video youtube embedded in wordpress


could be so ?

search for
Code:
https://www.youtube.com/any link


Replace with
Code:
[embed]https://www.youtube.com/any link[/embed]


IF somebody know the exact tag for embed video in wordpress i will be glad.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 23rd, 2020, 5:46 pm 
Site Admin
User avatar

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


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 25th, 2020, 11:54 am 

Joined: August 28th, 2011, 12:50 pm
Posts: 163
Need
automatic BLOG message separator after 1st image(cover)

wordpress


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 50, 51, 52, 53, 54, 55, 56 ... 74  Next

Who is online

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