Search and replace with regex in Sublime Text

One of the things that we do a lot in our Ruby on Rails project is replace old-style Ruby hashes (“hash rockets”) with new style, more compact hashes. So this { :key => “value” } becomes this { key: “value” } In Sublime Text, you can use a regex in find and replace – like …

Search and replace with regex in Sublime Text Read More »