How do I replace foo. with foo_ with sed simply running

sed 's/foo./foo_/g' file.php

doesn't work.

Edit
Report