So I haven't really found anything about this topic online while doing my research. Basically all I want to do is allow people to "tag" other users in their post. Like
@Bob, SO is a great place!
Then I'd handle the notification once I know that a username has been tagged and I'd notify the user. So my question is how would I approach this. I'm trying to achieve something like Twitters tagging system where if you click on the tag it'll take you to the users profile. Would I use regex and weed out the username from the @?
Are their any libraries for this to make it easier? Any assistance would be great.