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 -e 's|href=\"\(.[^"][^>]*\)\([.,]\)\">|href="\1">|g' file