• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Removing @ from existing tags

The Sandman

Well-known member
#1
How can I remove the @ sign from existing tags - I've unticked the box in the User Alert Options and new tags don't have the @, but all the existing tags still have them.
 

Jeremy

Well-known member
#2
There isn't a method in the software that handles this, it would require direct manipulation in the database or an add-on to remove them on the fly. @Kier's post find and replace could accomplish this (with proper RegEx and back ups).
 

markku

Well-known member
#4
For anyone in the future looking.

RegEx I used:
Code:
Regular Expression: /(\[USER=[0-9]+\])@/
Replacement String: \1
Thanks for this, however, do you happen to know what I should do if I wanted to add @ instead of removing it?

So that becomes to [USER=[0-9]@ ?

Thanks a lot!![/USER]