Project 4 problem 1 revision

Problem one contained RegExp which is not allowed.  Logic revised to
exclude the RegExp