Topic: how to auto link
What would be a good way to "auto link" words with @ in front of them like twitter does?
For example auto_link_user('Hello @matt please send file to firstname.lastname@example.org') would return
'Hello <a href="/users/matt">@mat</a> please send file to email@example.com'
Last edited by sthapit (2011-04-18 09:22:22)