Reputation: 8109
I found a nice search pattern to find all emails in a text in VIM: \([a-zA-Z0-9._%+-]\+@[a-zA-Z0-9.-]\+\.[a-zA-Z]\{2,4}\)
\([a-zA-Z0-9._%+-]\+@[a-zA-Z0-9.-]\+\.[a-zA-Z]\{2,4}\)
Does anyone has a nice search command to find all url's in VIM?
Upvotes: 0
Views: 544
Reputation: 7307
This should do it - \(\(ht\|f\)tp:\/\/\.*\)\s
\(\(ht\|f\)tp:\/\/\.*\)\s
Upvotes: 1