Email:
FirstName:
Password Phrase:
 
 
Functions to write for this page:

emailinfo(obj1):
Use indexOf() to find the @ sign in email. Then use the new substring() method to extract the prefix and suffix/

patfix(obj1):
Using the replace method to replace "pat" with "patrick". But need to use special regular expression components to make sure only get the stand-alone work "pat" and not fragments of words like spat, patrick, etc.

isEmail(obj1):
Use replace to fix some possible errors in domains of an email (aol, usc.com). Then validate if the email address is valid.

removespaces(obj1): Remove all spaces AND common punctuations from a phrase.