Renamed processFormInput and beginMapping functions, added query string function, added ignore case modifier to Regex