I see a lot of members here manipulating and using regexp very easily. I am slowly learning, one trick at a time, how to search for this or that, how to handle this case, how to escape that case... But at this rate, it will take me ages before I can efficiently use VIM's regexp. I also tried to read the documentation, but all the small symbols/special characters are not the easiest to remember.
I am therefore asking if there is any kind of "regexp" tutorial you came across during your learning process.
I found vimregex.com that's already a very good start, but maybe some of you have even better / more interactive / easier answers ?
Edit This question was put "on hold" for being "primarily opinion-based", which I understand. The few answers and comments I got however gave a few interesting tips, so I changed my question to the current one. I guess it's still opinion-based ? But maybe more useful this way ?
\zs
) – Tumbler41 Jun 24 '16 at 14:35\zs
,\ze
, they simplify substitution a lot. – VanLaser Jun 24 '16 at 14:37awk(1)
, which is tremendously useful by itself, and you'll have an easy time understanding the differences in syntax betweensed(1)
,grep(1)
,perl(1)
,vim(1)
and so on. – lcd047 Jun 24 '16 at 15:44