(Read Pete Becker's TR1 book for the gory details.)Instead, use regex_iterator or regex_token_iterator. Read my slides and/or watch my video at http://blogs.msdn.com/b/vcblog/archive/2010/11/18/regular-expressions-video-introduction-to-the-stl-part-8.aspx for more info....