Posted By

hoffstein on 07/30/08


Tagged

vim


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

hoffstein
Tyster


Regex for keeping first word in line


 / Published in: Regular Expression
 

  1. :s/\(\s*\w\+\).*/\1

Report this snippet  

You need to login to post a comment.