I want the word between characters
'@' ,'_'
Change to
<a href="$word">$word</a>
Example :
@Ali_ is a good boy, I and @Jan_ love him
change to
<a href="/Profile/Ali">Ali</a> is a good boy, I and <a href="/Profile/Jan"> Jan</a> love him