<?php $text = 'path/to/folder/@here'; echo preg_replace('~(?<![^/])[^/@][^/]*~', 'a:$0', $text);
You have javascript disabled. You will not be able to edit any code.