Use of regular expression: From the beginning to the end


Hi guys. Please, I need someone to assist me with the code on the following link: RegExp in Javascript
Here's a snapshot of the code with my RegEx on line 12


I don't think we wish to allow just any character after the a so the dot can go. Likewise, there is no limit on how many times the class [b-y] can appear, so the asterisk should be on the other side of it. Otherwise your regex looks good.


Thanks a million @mtf. Your suggestion worked.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.