XF 1.4 Removing @ from existing tags

The Sandman

Well-known member
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
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
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]
 
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]
To add an @ just change to:

Code:
Regular expression: /(\[USER=[0-9]+\])/
Replacement String: \1@
 
Top