static void Main(string[] args) { string input = "Girmay emailn [email protected].,Tollosa emailn: [email protected]." + " Getch emailn: [email protected]."; var pharagraph = new InputString(input); pharagraph.EmailChecker(); }
static void Main(string[] args) { string input = "Christian has the email address [email protected]." + "Christian's friend, John Cave-Brown, has the email address [email protected]." + "John's daughter Kira studies at Oxford University and has the email adress [email protected]." + "Her Twitter handle is @kira.cavebrown."; var pharagraph = new InputString(input); pharagraph.EmailChecker(); }