String extraction & manipulation

Hi all,
I have a string sentence with me: (650) 319-8930 michelle@doudflare.com No Yes No Yes
I want to extract only the phone number in this sentence. Can anyone please help me??

Hi @Prasanth14 ,
Welcome to UiPath Forum :slight_smile:
Use regex to extract the value

/\(\d{3}\) \d{3}-\d{4}

Strphonenumber=System.Text.RegularExpressions.Regex.Match(yourString,"/\(\d{3}\) \d{3}-\d{4}").Value

Regards,
Arivu

1 Like

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