Skip to main content
sathish..
Home
Blog
Gallery
Contact
facebook page
products
SavedSection
Blog categorized as Uncategorized
Regex replacement in vim editor
By
ssathishskumar
Replace pattern1 with pattern2 :
:%s/pattern1/pattern2/gc
Replace all whitespaces :
:%s/\s\+//gc
31.05.13 09:07 AM
-
Comment(s)
Read more
Categories
Uncategorized
(1)
First Post
(1)
DNS
(1)
tamil fonts
(1)
bashrc
(1)
android
(1)
font
(1)
javascript
(1)
Tags
first
post
nslookup
nameserver
tamil
fonts
ubuntu
bashrc
font size
object
string
Subscribe to RSS Feed