Regular Expressions: Character Ranges


Using character ranges of regular expressions, create a regular expression that matches: Ana Bob Cpc but does not match aax bby ccz.



[A-C][n-p][a-c] This would be the solution. It's an easy problem!

No comments :

Post a Comment

Follow Me

If you like our content, feel free to follow me to stay updated.


Enter your email address:

We hate spam as much as you do.

Upload Material

Got an exam, project, tutorial video, exercise, solutions, unsolved problem, question, solution manual? We are open to any coding material. Why not upload?


Copyright © 2012 - 2014 Java Problems  --  About  --  Attribution  --  Privacy Policy  --  Terms of Use  --  Contact