About 2,270,000 results
Open links in new tab
  1. Regex AND operator - Stack Overflow

    Based on this answer Regular Expressions: Is there an AND operator? I tried the following on http://regexpal.com/ but was unable to get it to work. What am missing ...

  2. regex - How is the AND/OR operator represented as in Regular ...

    I now try to match the string given by the user with the following, automatically created, regex expression: ^(part1|part2)$ This only returns answer 1 and 2 as correct while answer 3 would …

  3. regex - Regular Expressions: Is there an AND operator? - Stack …

    In regex in general, ^ is negation only at the beginning of a character class. Unless CMake is doing something really funky (to the point where calling their pattern matching language …

  4. regex - Regular expression to match digits and basic math …

    Oct 27, 2009 · Regular expression to match digits and basic math operators Asked 16 years, 1 month ago Modified 3 years, 11 months ago Viewed 57k times

  5. shell - Bash regex =~ operator - Stack Overflow

    Oct 18, 2013 · The =~ operator is a regular expression match operator. This operator is inspired by Perl's use of the same operator for regular expression matching. The [[ ]] is treated …

  6. string - Regex not operator - Stack Overflow

    No, there's no direct not operator. At least not the way you hope for. You can use a zero-width negative lookahead, however: \((?!2001)[0-9a-zA-z _\.\-:]*\) The (?!...) part means "only match …

  7. logical operators - Regex for "AND NOT" operation - Stack Overflow

    Sep 26, 2011 · 1 So after looking through these topics on RegEx's: lookahead, lookbehind, nesting, AND operator, recursion, subroutines, conditionals, anchors, and groups, I've come to …

  8. Looking for a regex to match all operators - Stack Overflow

    Is there a way to use regex to see if a given string is any one of the above operators, and nothing else. Example var a = "3 + 2" //match fail var b = ">=" //match pass The regEx test must con...

  9. regex - Matching strings in PowerShell - Stack Overflow

    Jul 18, 2018 · Preface: PowerShell string- comparison operators are case-insensitive by default (unlike the string operators, which use the invariant culture, the regex operators seem to use …

  10. How can I provide an OR operator in regular expressions?

    Nov 28, 2012 · While the alternation operator is the answer to "what is the alternation operator in regex", there are many more nuances in using it inside regular expressions.