So, I guess that this is a pretty simple concept, but I am unsure as to how I would achieve my intended result. What I am wanting, is for words which start with the '@' symbol, to be outputted with a <span>
encasing them.
Let's say that the following is the whole string:
Mark wants the new app to be released on Friday, but some assets need refining so that they fit the theme @design_team.
How would I capture the...
@design_team
...sub-string, bearing in mind that characters other than an underscore should not be accounted for in the sub-string, to help keep the format.
Please let me know if this is possible with PHP, and if so, how.