i want to get the word Asarum in the below line:
Use this code, to match the text to a specific regex, instead of replacing everything else:
preg_match('/(.+?)<\/a>/i', $link, $matches);
$matches[1] will now contain the text you're looking for.
$matches[1]