How can I include the period (.) in Vim's search and replace command? (replacing .html extensions)?

Escape it. The is a regex character which means "any character", so you need to escape it with.

Escape it. The . Is a regex character which means "any character", so you need to escape it with \.

:%s/\. Html/. Php/g.

Sorry, guys but I can just accept one answer – alexchenco Apr 30 '10 at 13:24.

Just escape the . Character. Search for /\.html.

Use backslach to escape the dot. /\. Html will look for ".

Html".

Wow - I am way too slow. :( – Danny Whitt Apr 30 '10 at 13:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions