Google Sheets functions / Text
Text function · Google Sheets
REGEXREPLACE function
Replaces text matching a pattern.
Reference entry. Syntax, tested examples and a practice file arrive with the full guide. Open the official function list.
Replaces text matching a pattern.