Skip to main content
info
This documentation is for version v2.3 of the product.
For the latest version(v2.7) documentation click here
Version: v2.3 print this page

FindAndReplaceUsingRegex

This node finds and replaces text in a column containing string

Input

It accepts a DataFrame as input from the previous Node

Type

transform

Fields

NameTitleDescription
inputColsInput ColumnsColumns on which to apply Regex
searchPatternFindEnter Search Pattern
replacePatternReplaceEnter replacement Value

Examples

Input1

nameageheight
Alice580
Alice580
Alice1080
James550
James1060
James780

Parameters1

NameValue
Input Columnsname
FindAl*
ReplaceJim

Output1

nameageheight
Jimice580
Jimice580
Jimice1080
James550
James1060
James780

Input2

idprodIdmessage
1.02.0this is a spam
0.01.0i am going to work

Parameters2

NameValue
Input Columnsname
Find\s
Replace*

Output2

idprodIdmessage
1.02.0this*is*a*spam
0.01.0i*am*going*to*work