func.regexp_replace

This function returns a new string with the substrings, which match a regular expression pattern, replaced by a new substring

Syntax

func.regexp_replace(value, search, replace)

Examples

func.regexp_replace('plaidcloud', 'p', 'P') --> Plaidcloud  
func.regexp_replace('remove12345alphabets','[[:alpha:]]','','g') --> 12345  
func.regexp_replace('remove12345digits','[[:digit:]]','','g') --> removedigits  
  
Last modified April 06, 2022 at 10:08 AM EST: Initial Documentation Commit (371ae8f)