I have a file that blah
I want to match rel="blahblah"
but when i do \rel=".*" it matches rel="blahblah" style="textdecoration:none;"
I have tried rel=".*\{-\}" but that gives an error nested \{
Ans:
You can use:
rel=".\{-}"
\{-} is used for non-greedy match in VIM
廣告