4

Can any of you recommend an online series of regular expression problems, preferably with solutions? Maybe some cs class problem set or something of that ilk?

Without using them frequently, I tend to forget everything but the very, very basics, so I'd like to be able to do some problems to really internalize the info.

Thanks!

leeny
  • 626
  • 3
  • 14
  • 3
    People frequently post "questions" here asking others to write regular expressions for them. Practice solving those. See if you can get your answer accepted. As a bonus, it'll help boost your rep. ;-) – Cody Gray - on strike Jan 14 '11 at 06:52
  • 1
    See, you could have gotten [this one](http://stackoverflow.com/questions/4690986/regex-needed-to-match-number-to-2-decimal-places). Look for the ones that start with "Regex needed". That's the sign of a good question. – Cody Gray - on strike Jan 14 '11 at 12:32

2 Answers2

5

If you use IRC, you can try the regex quiz in #regex on Undernet.

It has a bunch of problems and suggested reading for solving them.

Sebastian Paaske Tørholm
  • 49,493
  • 11
  • 100
  • 118
2

Try this: http://www.regexbuddy.com/

And this: http://regexlib.com/

MatBanik
  • 26,356
  • 39
  • 116
  • 178