i'm not very firm with regular Expressions, so i have to ask you:
How to find out with PHP if a string contains a word starting with @ ??
e.g. i have a string like "This is for @codeworxx" ???
I'm so sorry, but i have NO starting point for that :(
Hope you can help.
Thanks, Sascha
okay thanks for the results - but i did a mistake - how to implement in eregi_replace ???
$text = eregi_replace('/\B@[^\B]+/','<a href="\\1">\\1</a>', $text);
does not work??!?
why? do i not have to enter the same expression as pattern?