Loading ...
Sorry, an error occurred while loading the content.

544Re: [NTS] Can a Reg Exp handle 123 AND not a|b|c followed by x?

Expand Messages
  • Art Kocsis
    May 10, 2012
      At 5/10/2012 07:46 AM, Flo wrote:
      >The second part of that RegEx...
      >
      >\((?!Mon|Tue|Wed|Thu|Fri|Sat|Sun).{3}\)
      >
      >matches an opening and a closing literal bracket '(...)' embracing three
      >digits '.{3}' that are NOT 'Mon', 'Tue' etc, as Joy demanded.

      Don't you mean three CHARACTERS instead of three DIGITS? The "." matches
      any character, "\d" is used match any digit.

      Just trying to keep things clear for future readers. ;)

      Namaste', Art
    • Show all 13 messages in this topic