开发者

VIM: search urls

开发者 https://www.devze.com 2023-03-14 02:51 出处:网络
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}\\)

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}\)

Does anyone has a nice search command to find all url's in VIM?


This should do it - \(\(ht\|f\)tp:\/\/\.*\)\s

0

精彩评论

暂无评论...
验证码 换一张
取 消