I need regex value of below the string

Hi team, ineed regx value of these string

String =“Missouri Hospital\r\nPlan\r\n9 US: Missouri\r\nAMB# 002915\r\nNAIC# 27642\r\nFEIN# 431427497\r\nei\r\nA gio Q * ki igi\r\nHome Recent Company My Industry Industry\r\nActivity Search Companies Research News,”

need value of “Missouri Hospital” these value.

please help me on that.
don’t paste screen shot

Regards,
sai

Hi @Mada_Sai_Krishna

Use the below regular expression.

System.Text.RegularExpressions.Regex.Matches(yourstringinput.ToString,“(^[A-Za-z]+\s+[A-Za-z]+(?=\\))”)

Hello

Try the following pattern:
^[^\\]+

Insert the following into an Assign activity:
System.Text.RegularExpressions.Regex.Match(yourstringinput.ToString,“^[^\\]+”).ToString

Cheers

Steve