01-14-2020 04:54 AM
Hi,
I need some help on spliting the user name on basis of Regex expression.My user Name is an combination of mutliple users and i cant use comma to split them. so, i tried regular expression and which is working good on DB level and planned to implement same in Snaplogic, but it is not working. Please some one can help me here.
01-17-2020 03:35 PM
Hi @pranil2k2
Here is an expression that produces the results you are looking for:
$NAME.match(/[^,]+,[^,]+/g)
01-23-2020 01:16 PM
HI,
Thanks for the information.
Anil
01-15-2020 08:19 AM
Hi,
so by doing above can I except the result will be like three rows as below?
john, maria
lisa, awari
Arun, john(TCS)
01-15-2020 08:21 AM
The names are combination of first name and last name saperated by comma. so the output will be like
john, maria (first name, last name)