Searching a specific word and getting all the strings in a line with a condition

Hi,

Hope the following helps you.

System.Text.RegularExpressions.Regex.Matches(yourString,"[A-Za-z ]*(University|College)[A-Za-z ]*")

Sequence3.xaml (6.8 KB)

Regards,

2 Likes