Email Validator

Enter an Email Address :

Saturday, June 20, 2015

public void testIsEmailValid() { boolean isValid = false; //Initialize reg ex for email. String expression = "^\\(([a-zA-Z0-9 _\\-\\.\\+]+)\\)\\ ([a-zA-Z0-9\n" + "_\\!\\#\\$\\%\\&\\'\\*\\-\\/\\=\\?\\^\\`\\{\\|\\}\\~\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\\n" + ".[0-9]{1,3}\\.)|(([a-zA-Z0-9\\w\n" + "_\\!\\#\\$\\%\\&\\'\\*\\-\\/\\=\\?\\^\\`\\{\\|\\}\\~]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3}\n" + ")$|^([a-zA-Z0-9 \\w\n" + "_\\!\\#\\$\\%\\&\\'\\*\\-\\/\\=\\?\\^\\`\\{\\|\\}\\~\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\\n" + ".[0-9]{1,3}\\.)|(([a-zA-Z0-9_\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})$"; CharSequence inputStr ="name.su$rname@$blah.com"; //This will fail CharSequence inputStr2 ="name.su$rname@blah.com"; //This will pass validation //Make the comparison case-insensitive. Pattern pattern = Pattern.compile(expression, Pattern.CASE_INSENSITIVE); Matcher matcher = pattern.matcher(inputStr2); if (matcher.matches()) { isValid = true; } System.out.println("is Valid ::: " + isValid); }

Friday, May 15, 2015

Welcome to Sunflower Service & Solution Ltd.

Sunflower Service & Solution Ltd founded in 2011, is a professional agency managed administrative outsourcing service that is changing the way Business operate by providing innovative solutions to back-office operations to improve bottom lines.

  • Dedicated to Client service: We work hard to exceed client expectations and we understand the frustration of dealing with typical virtual services and outsourcing companies.

  • Unique business model: We make the transition of information from client to our assistants as efficient as possible. Each client has access to a project manager who is highly skilled, experienced and educated. Client contact is solely with the project manager who manages a team of skilled assistants.

  • Response Time:  25-Minute Response Time We offer both our clients and the end-users we support an industry-leading 25-minute average response time guarantee