Backreferences in VIM (16 jun 21)
To turn all examples of
# Table N.M
into
print( " # Table N.M" )
in vim, issue this after hitting colon:
%s/\(# Table.*\)/print( " \1" )/g
Thank you http://www.vimregex.com/#backreferences
To turn all examples of
# Table N.M
into
print( " # Table N.M" )
in vim, issue this after hitting colon:
%s/\(# Table.*\)/print( " \1" )/g
Thank you http://www.vimregex.com/#backreferences