Regex text split

Input

The value is completed please check all are correct.abc is done.fgh is done.hjk is done.mnc is done.
Are you wish to proceed further

Output
Arrayofstring
abc
fgh
hjk
mnc

@Demo_User



MatchCollections=System.Text.RegularExpressions.Regex.Matches(StrInput,“(?<=.)[a-z]+”)

Hi @Demo_User

Please use the below regex expression in assign activity.

Input = "The value is completed please check all are correct.abc is done.fgh is done.hjk is done.mnc is done.
Are you wish to proceed further"
LineItems = System.Text.RegularExpressions.Regex.Matches(Input, "(?<=\.)[a-z]+").Cast(Of System.Text.RegularExpressions.Match)().Select(Function(m) m.Value).ToArray()

You can use any of the below workflow:

Regards

Hi @Demo_User

Use below Regex Expression:

System.Text.RegularExpressions.Regex.Matches(yourInputString, “(?<=.)[a-z]+”).Cast(Of System.Text.RegularExpressions.Match)().Select(Function(a) a.Value).ToArray()

Hope it will helps you :slight_smile:
Cheers!!