This is working on the UltraEdit version I have:
I'm just not sure why you have @
in your replace.
You can pick "Current file" for all instead of the "Selected Text" I used for the comparison.
Another thing to note, it might be safer to use:
ereg\("(.*?)",
Replace:
preg_match("@$1@",