I would like to use PHP to replace hash-tagged words in strings of text.
My String:
"Working on some cool things for shareit.me #ui #webdesign #ux"
I would like to encapsulate each hash-tagged keyword with span tags to give them a different color. How can I do this?
Thanks!