Mr Lucky
Well-known member
Is there a way to use this so that all embedded email addresses were converted to non-clickable masked emails, ie so that what was email@example.com becomes something like email -at- example.com
try to add ".+" to the regular expressionView attachment 135048 Hi, seems to be a great tool if some know how to use it
What I would like to know is... I have lots and lots of links which are starting with http://www.invalid1c is there anyway so remove the entire line where it startes with this or at least "unlink" them so they don't appear as links any longer in any message/post ?
I think the above will delete only the "http://www.invalid1c" but I want it to delete the entire line means everything that comes after "http://www.invalid1c" /something/something/index.php"
Hello, Try this one:
Quick Find:
Code:[IMG]http://www.example.com/forum/attachment.php?attachmentid
Regex:
Code:#(\[img]http://www\.example\.com)/forum/attachment\.php\?attachmentid=([0-9]+)&d=([0-9]+)(\[/img])#siu
Replace:
Code:\1/xendev/attachments/\2/\4
Always try first without saving.
[URL]http://sub.domain.com/forum/attachment.php?attachmentid
#\[URL]http://sub\.domain\.com/forum/attachment\.php\?attachmentid=([0-9]+)&d=[0-9]+\[/URL]#siu
[ATTACH]\1[/ATTACH]
UPDATE xf_post SET message = REPLACE(message, 'http://i.imgur', 'https://i.imgur');
Code:UPDATE xf_post SET message = REPLACE(message, 'http://i.imgur', 'https://i.imgur');
if you are comfy with phpmyadmin. i run this query once every few months on domains that i find do not force https.
there is also the proxy image option that should negate the need for running this command at all.
Also taigachat in message will works http to https?Code:UPDATE xf_post SET message = REPLACE(message, 'http://i.imgur', 'https://i.imgur');
if you are comfy with phpmyadmin. i run this query once every few months on domains that i find do not force https.
there is also the proxy image option that should negate the need for running this command at all.
@Burp can you please help me with a regular expression
I'm looking to convert all imgur image links from http to https
example -
I want the image tags from
Code:[IMG]http://i.imgur.com/xxxxx.jpg[/IMG] to [IMG]https://i.imgur.com/xxxxx.jpg[/IMG]
[IMG]http://i.imgur
#\[IMG]http://(i\.imgur\.com/[^[]+)\[/IMG]#siu
[IMG]https://\1[/IMG]
[IMG]http://cafesaxophone.com/.......
you need to use regex, it's not a plain text replacer
Quick Find:
Regex:Code:[IMG]http://i.imgur
Replace:Code:#\[IMG]http://(i\.imgur\.com/[^[]+)\[/IMG]#siu
Always try first without saving.Code:[IMG]https://\1[/IMG]
You can use the following post as an example (posted above your first post):
Just replace i.imgur with your own domain.
[IMG]http://cafesaxophone
#\[IMG]http://(cafesaxophone\.com/[^[]+)\[/IMG]#siu
[IMG]https://\1[/IMG]
We use essential cookies to make this site work, and optional cookies to enhance your experience.