About 50 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 concluded it means the …

  3. Regex: ?: notation (Question mark and colon notation)

    Dec 8, 2018 · The regex compiles fine, and there are already JUnit tests that show how it works. It's just that I'm a bit confused about why the first question mark and colon are there.

  4. regex - What does ?= mean in a regular expression? - Stack Overflow

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

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

    Aug 16, 2020 · 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 …

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

    Second, while the regex insures that each of those three kinds of character is present, it doesn't say anything about the rest of the string. That may have been a deliberate choice, but people usually try …

  7. regex - What is the difference between .*? and .* regular expressions ...

    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 match of …

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

    May 15, 2010 · 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 example, the string …

  9. 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 them enough. thank …

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

    How do I make an expression to match absolutely anything (including whitespaces)? Example: Regex: I bought _____ sheep. Matches: I bought sheep. I bought a sheep. I bought five sheep. I tried usi...