<?php print preg_replace('/(?<=^|\s|[([])\@([a-zA-Z0-9_]{1,20})/', '<a href="/profiles/$1">$0</a>', "@abcdefghijklmnopqrstuvwxyz");
Standard input is empty
<a href="/profiles/abcdefghijklmnopqrst">@abcdefghijklmnopqrst</a>uvwxyz
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!