CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Location
    Baltimore, Maryland, USA
    Posts
    104

    Regualr Expressions

    ... I'm curious to wonder, usually regex checks to see if its "one or more", but what about "two or more" ?!

    ie... two or more lower case, two or more numbers.

    Is it possible with Regex?
    -= the best is yet to come =-

  2. #2
    Join Date
    Dec 2008
    Posts
    31

    Re: Regualr Expressions

    you can use \{2,} I believe....e.g \d{2, } finds two or more numbers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured