Extracting from email

Hie guys. Suppose i am extracting phone number: 09899898 from body of outlook. How can i check phone number is not empty when a mail is sent

Using Regex (\d+{7}) if match, you have a phone, otherwise not


what about if its a name which doesnt have the same number of characters as mobile phone

Try with several Regex Patters adjusting to your needs