Find and Replace Hashtags and Mentions in PHP
Social network messages often use hashtags and username mentions to build connections. For example, following message mentions username such as @dummyuser and has hashtags such as #dummytag. The following examples show how to retrieve and replace hashtags and mentions using …