themaPoster
http://poster.themasoftware.com/forum/

Forum replacements problems.
http://poster.themasoftware.com/forum/viewtopic.php?f=4&t=634
Page 53 of 74

Author:  stefan-te [ December 15th, 2019, 12:59 am ]
Post subject:  Re: Forum replacements problems.

^
Code:
https://regex101.com/r/0LCncD/1

Author:  Crackpot [ December 15th, 2019, 1:53 am ]
Post subject:  Re: Forum replacements problems.

thanks :)

Author:  ad-team [ January 15th, 2020, 7:06 pm ]
Post subject:  Re: Forum replacements problems.

before

Code:
08 - Season of Storms


After

Code:
Season of Storms

thanks

Author:  Freddy [ January 15th, 2020, 8:19 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
^[0-9]+ -


Replace with:
Code:
(leave empty)


Enable regex search.

Author:  zaika [ February 1st, 2020, 12:09 pm ]
Post subject:  Re: Forum replacements problems.

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]

Author:  Freddy [ February 1st, 2020, 4:25 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
[IMG]


Replace with:
Code:
[IMG=3vljws]


Simple replacement (not regex).

Author:  zaika [ February 1st, 2020, 9:10 pm ]
Post subject:  Re: Forum replacements problems.

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.

Author:  stefan-te [ February 2nd, 2020, 12:34 am ]
Post subject:  Re: Forum replacements problems.

Try this...
https://regex101.com/r/keS8DE/1

This is with enabled regex.

Author:  Freddy [ February 2nd, 2020, 6:30 am ]
Post subject:  Re: Forum replacements problems.

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.

Author:  zaika [ February 2nd, 2020, 9:22 pm ]
Post subject:  Re: Forum replacements problems.

Thx so much

Author:  ad-team [ April 3rd, 2020, 4:28 pm ]
Post subject:  Re: Forum replacements problems.

Hello
before
Code:
2020-03-07 New Zealand Listener


After

Code:
New Zealand Listener 2020-03-07

thanks

Author:  Freddy [ April 3rd, 2020, 5:26 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
([0-9]{4}-[0-9]{2}-[0-9]{2})(.+)


Replace with:
Code:
$2 $1


Enable regex search.

Author:  zaika [ April 23rd, 2020, 5:18 pm ]
Post subject:  Re: Forum replacements problems.

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.

Author:  Freddy [ April 23rd, 2020, 5:46 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
https?://.*?youtube\.com.+


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


Enable regex search.

Author:  nik204 [ April 25th, 2020, 11:54 am ]
Post subject:  Re: Forum replacements problems.

Need
automatic BLOG message separator after 1st image(cover)

wordpress

Page 53 of 74 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/