First of all sorry for my bad english. I\'m a german guy.
The code given below is working fine in PHP:
$string = preg_replace(\'/href=\"(.*?)(\\.|\\,)\"/
sed does not support non-greedy regex match.