Regular Expressions notepad¶
Vim / Neovim regular expressions¶
- Match any https URL and surround it with <>
:%s /http[s]\?:\/\/[[:alnum:]%\/_#.-]*/<\0>/g- Strip parenthesis from URL
%s /(\(https[^{]*\))/\1
:%s /http[s]\?:\/\/[[:alnum:]%\/_#.-]*/<\0>/g
%s /(\(https[^{]*\))/\1