VIM

Vim Regex Replace to Remove Erb Tags

:s/<%=\? //
  1. Select a block of code that came from an erb template
  2. Run the ex command :s/<%=\? //