When I do: /.html
Vim looks for html
I would like to replace all the .html
with .php
Something like this: :%s/html ext/php ext/g
When I do: /.html
Vim looks for html
I would like to replace all the .html
with .php
Something like this: :%s/html ext/php ext/g
Escape it. The .
is a regex character which means "any character", so you need to escape it with \
.
:%s/\.html/.php/g
Use backslach to escape the dot.
/\.html
will look for ".html".