Regex Flexible configuration how?

Hi,

Need help to get the data from the regex command.

Input

Name: test1 abc
Name :test2 bcd
Name : Test3 abcd
Name : test4 cgf
name : test5 cdf
name :test6 909
name : test7 808

How can I get all the name after the symbol “:”
I did try to used below regex command but not all name can be captured

(?<=Name:|\s:\s|(?<=Name:[^\s])).*

thank you
Regards
jamuri

Hi @Abang_Jamuri_Abang_Shoker

Can you try the below

(?<=(N|n)ame\s*:\s*)(.*)

Regards,

1 Like

@Abang_Jamuri_Abang_Shoker

Another approach

Regards,

Hi Irtetala

Manage to get the output.

Thank you very much.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.