RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Find and replace text using regular expressions

Last modified: 09 August 2022

When you want to search and replace specific patterns of text, use regular expressions. They can help you in pattern matching, parsing, filtering of results, and so on. Once you learn the regex syntax, you can use it for almost any language.