Changes implemented

1. Change class name from "form" to "Form"
2. Optimized validateUsingRegex method.