i have this text:
$text="Added per-site(534) option to disable use(18) of proxy server";
i want to replace all "(number)" in text to: <a href=id.php?id=number>(number)</a>
for this example output must be:
Added per-site<a href=id.php?id=534>(534)</a> option to disable use<a href=id.php?id=18>(18)</a> of proxy server
i tried it with erege but i could not done it. any one can help me?