Vim: Searching and Replace regex fails

Posted by Marco on Stack Overflow See other posts from Stack Overflow or by Marco
Published on 2010-03-14T06:22:11Z Indexed on 2010/03/14 6:25 UTC
Read the original article Hit count: 180

Filed under:
|

Content:

1.                  Text is here.
20.                 More text.

Why does this Vim search and replace string fail?

:%s/^\d+\.\s+/# /g

© Stack Overflow or respective owner

Related posts about vim

Related posts about regex