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

Find and replace text using regular expressions

Last modified: 25 October 2023

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.