About 13,800,000 results
Open links in new tab
  1. regex - How .* (dot star) works? - Stack Overflow

    Oct 1, 2012 · In Regex, . refers to any character, be it a number, an aplhabet character, or any other special character. * means zero or more times.

  2. 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 …

  3. regex - What does ?= mean in a regular expression? - Stack …

    Oct 15, 2009 · May I know what ?= means in a regular expression? For example, what is its significance in this expression: (?=.*\\d).

  4. regex - Dollar sign in regular expression and new line character ...

    Dec 17, 2012 · Afaik, it depends on the regex flavor and the matching options whether a newline is considered as end-of-string.

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

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

  6. regex - Match linebreaks - \n or \r\n? - Stack Overflow

    While writing this answer, I had to match exclusively on linebreaks instead of using the s-flag (dotall - dot matches linebreaks). The sites usually used to test regular expressions behave …

  7. What does \d+ mean in a regular expression? - Stack Overflow

    Aug 17, 2022 · What does \d+ mean in a regular expression?\d is a digit (a character in the range [0-9]), and + means one or more times. Thus, \d+ means match one or more digits. For …

  8. javascript - What is the need for caret (^) and dollar symbol ($) in ...

    Javascript RegExp () allows you to specify a multi-line mode (m) which changes the behavior of ^ and $. ^ represents the start of the current line in multi-line mode, otherwise the start of the …

  9. regex - What is the difference between .*? and .* regular …

    Repetition in regex by default is greedy: they try to match as many reps as possible, and when this doesn't work and they have to backtrack, they try to match one fewer rep at a time, until a …

  10. What does regular expression \\s*,\\s* do? - Stack Overflow

    Dec 6, 2012 · That regex "\\s*,\\s*" means: \s* any number of whitespace characters a comma \s* any number of whitespace characters which will split on commas and consume any spaces …