apoc.text.replace
Function APOC Core
apoc.text.replace(text, regex, replacement) - replace each substring of the given string that matches the given regular expression with the given replacement.
Usage Examples
RETURN apoc.text.replace('Hello World!', '[^a-zA-Z]', '') AS output;
output |
---|
"HelloWorld" |
RETURN apoc.text.replace('GDS is a Neo4j Product', 'GDS', 'Bloom') AS output;
output |
---|
"Bloom is a Neo4j Product" |
Was this page helpful?