Vim: Using Ruby Regular Expression

I needed to remove line number from a web copy-pasted code snippet. I know there is a way to configure vim to use the perl style regular expressions but I couldn’t find how quickly. What I found was: http://vim.wikia.com/wiki/Perl_compatible_regular_expressions [code lang=”ruby”] :rubydo gsub /pattern/,’replacement'</code> ...Read More