About 11,500,000 results
Open links in new tab
  1. regex - Carets in Regular Expressions - Stack Overflow

    Jun 1, 2017 · Specifically when does ^ mean "match start" and when does it mean "not the following" in regular expressions? From the Wikipedia article and other references, I've …

  2. regex - What are ^.* and .*$ in regular expressions? - Stack Overflow

    In case it is JS it indicates the start and end of the regex, like quotes for strings. stackoverflow.com/questions/15661969/…

  3. regex - Regular Expression with wildcards to match any character ...

    Jan 2, 1999 · Parentheses in regular expressions define groups, which is why you need to escape the parentheses to match the literal characters. So to modify the groups just remove all of the …

  4. regex - Question marks in regular expressions - Stack Overflow

    Apr 7, 2011 · I'm reading the regular expressions reference and I'm thinking about ? and ?? characters. Could you explain me with some examples their usefulness? I don't understand …

  5. regex - What is the difference between \s and \t? - Stack Overflow

    Jul 30, 2013 · Just a pedantic adjustment to what most answers are saying here: [\s\t] is redundant. The \t is already part of \s so you don't have to include the \t. In the case of \s\t, the …

  6. Regex to *not* match anything - Stack Overflow

    64 A simple and cheap regex that will never match anything is to match against something that is simply unmatchable, for example: \b\B. It's simply impossible for this regex to match, since it's …

  7. regex - Regular Expression to find a string included between two ...

    I need to extract from a string a set of characters which are included between two delimiters, without returning the delimiters themselves. A simple example should be helpful: Target: …

  8. OR condition in Regex - Stack Overflow

    Apr 13, 2013 · Note that your regex would have worked too if it was written as \d \w|\d instead of \d|\d \w. This is because in your case, once the regex matches the first option, \d, it ceases to …

  9. regex - What is a non-capturing group in regular expressions?

    Aug 18, 2010 · What is also important there is that regex with non-capturing groups (?: is much faster than the same regex with capturing groups ' ('. So we should use non-capturing groups …

  10. RegEx for matching "A-Z, a-z, 0-9, _" and "." - Stack Overflow

    Nov 12, 2009 · I need a regex which will allow only A-Z, a-z, 0-9, the _ character, and dot (.) in the input. I tried: [A-Za-z0-9_.] But, it did not work. How can I fix it?