I am calling a third-party API to get customer contact information and it returns a string for each field and my application needs to determine if the string is a phone number or Email or web address
String data=GetCustomerInfoFromAPI() // will get customer contact information from an API call and will return a string
some examples for the data string I am getting back from the API call
"www.google.com"
"602.123.1778"
"John@gmail.com"