David Carrdcblogdev.hashnode.dev·Feb 8, 2018Regular expression to convert usernames into links like TwitterWhen using plain textareas it's useful to link usernames in the format as @name but won’t use email addresses. $subject = 'Hello, @daveismyname twitter handle is clickable but not this email someone@domain.com'; echo preg_replace('/\B\@([a-zA-Z0-9...Add a thoughtful commentNo comments yetBe the first to start the conversation.