About 12,200,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 - Matching up to the first occurrence of a character with a ...

    Be aware that the first ^ in this answer gives the regex a completely different meaning: It makes the regular expression look only for matches starting from the beginning of the string.

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

  5. 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/…

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

  7. symbols - What is the meaning of + in a regex? - Stack Overflow

    Nov 24, 2013 · Now, when the regex engine tries to match against aaaaaaaab, the .* will again consume the entire string. However, since the engine will have reached the end of the string …

  8. regex - Regular Expressions- Match Anything - Stack Overflow

    Normally the dot matches any character except newlines. So if .* isn't working, set the "dot matches newlines, too" option (or use (?s).*). If you're using JavaScript, which doesn't have a …

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

  10. regex - How to match "any character" in regular expression?

    Feb 24, 2023 · For reference, from regular-expressions.info/dot.html: "JavaScript and VBScript do not have an option to make the dot match line break characters. In those languages, you can …