I want to replace occurances of <%= svg_image("something anything") %> with nothing.
find
<%= svg_image(.*?)%>replace
svg_image_placeholder_for$1See https://forum.sublimetext.com/t/how-to-learn-regular-expression-in-sublime/48138/2 for explanation
Rename files in directory:
for file in *.svg; do mv "$file" "_${file%.svg}.html.eex"; done