[BS] Regex censor [Deleted]

.regex for replace Tapatalk signature: /(\n{1,3})?Sent from my.*?using Tapatalk/isu
View attachment 212601

Hi... I'm having trouble with this addon. It won't accept anything to save (Xenforo 2.1)

I'm trying to censor specific language characters. When I enter

Code:
/\p{Han}/gu
into the Regex field and hit save, it doesn't save it. Any help?

thanks
arn

edit: Oh, I see... I guess it doesn't accept that particular type of markup. This works

Code:
/[\x{4e00}-\x{9fa5}]+/u
 
This is an underrated add-on.

I was able to rewrite some old http to https urls in old posts, and use regex for more complicated replacements.
Can you share any of your useful regex?

I'm hoping I can use this to censor links to any page certain domains and replace with a link to the post on my site as to why links to that place are banned. But my regex skills are letting me down
 
I just converted a site from PHPBB over to XF. I see they had mentions - and they still remain.

[mention]username[/mention] to actually make the user @ call. Anyone have an idea how I could do that?
 
I just converted a site from PHPBB over to XF. I see they had mentions - and they still remain.

[mention]username[/mention] to actually make the user @ call. Anyone have an idea how I could do that?
With this add-on it will not work. XenForo inserts a user ID into the BB-code, and if it is absent, the BB-code will simply not work.
You need a converter that will find user by specified name and insert his ID into the new BB-code
 
With this add-on it will not work. XenForo inserts a user ID into the BB-code, and if it is absent, the BB-code will simply not work.
You need a converter that will find user by specified name and insert his ID into the new BB-code
I wonder if I could use it to remove the mentions then.
 
Can this add-on rewrite URL?
Because recently (since 2.2.6) we can not rewrite URL using censor method.

Reference :
 
I have tried, the censor works. But the hyperlink is removed. This happens since xenforo 2.2.6.
Unfortunately I can not. My license expired before this version was released 🤷‍♂️


I have some old forum urls from a previous vB4 install.

How could I replace the urls with the updated redirected urls?
I have moved the forum to the root folder now
so it would result to domain.com/threads/173113/
Regex: /https:\/\/www\.domain\.com\/vb\/showthread\.php\?t=([0-9]*)/isu
Replace: https://domain.com/threads/\1
 
Top Bottom