About 1,150,000 results
Open links in new tab
  1. Regex.Matches Method (System.Text.RegularExpressions)

    Searches the specified input string for all occurrences of a specified regular expression, using the specified matching options and time-out interval.

  2. Regular expression syntax cheat sheet - JavaScript | MDN

    Dec 8, 2025 · Character class: Matches any one of the enclosed characters. You can specify a range of characters by using a hyphen, but if the hyphen appears as the first or last character …

  3. C# - Regex Examples - Dot Net Perls

    Aug 24, 2025 · Regular expressions are a concise way to process text data. We use Regex.Matches, and IsMatch, to check a pattern (evaluating its metacharacters) against an …

  4. RegExr: Learn, Build, & Test RegEx

    RegExr was created by gskinner.com. Edit the Expression & Text to see matches. Roll over matches or the expression for details. PCRE & JavaScript flavors of RegEx are supported. …

  5. Regular expressions - JavaScript | MDN

    Jul 21, 2025 · To match a literal backslash, you need to escape the backslash. For instance, to match the string "C:\" where "C" can be any letter, you'd use /[A-Z]:\\/ — the first backslash …

  6. Match Class (System.Text.RegularExpressions) | Microsoft Learn

    If the Regex.Matches method fails to match a regular expression pattern in an input string, it returns an empty MatchCollection object. You can then use a foreach construct in C# or a For …

  7. Regex.Match Method (System.Text.RegularExpressions)

    Searches an input string for a substring that matches a regular expression pattern and returns the first occurrence as a single Match object.

  8. MatchCollection Class (System.Text.RegularExpressions)

    The Regex.Matches method returns a MatchCollection object. The collection contains zero or more System.Text.RegularExpressions.Match objects. If the match is successful, the …

  9. regex101: build, test, and debug regex

    Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET, Rust.

  10. Regex Tutorial - How to write Regular Expressions

    Dec 22, 2025 · This regex checks if a filename is valid, allowing letters, numbers, underscore, hyphens and ends with .jpg, .png or .gif. Example matches: file123.jpg, my-photo.png, logo_1.gif.