Skip to content
@regexhq

RegexHQ

Collaboration on a world-wide community-driven collection of RegExp patterns and tools that can make our life easier.

Pinned Loading

  1. mentions-regex mentions-regex Public

    100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.

    JavaScript 105 6

  2. youtube-regex youtube-regex Public

    Best YouTube Video ID regex. Online: https://regex101.com/r/rN1qR5/2 and http://regexr.com/3anm9

    JavaScript 88 8

  3. function-regex function-regex Public

    Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.

    JavaScript 30 4

  4. regex-username regex-username Public

    Regular expression for usernames

    JavaScript 47 11

  5. path-root-regex path-root-regex Public

    Regular expression for getting the root of a posix or windows filepath.

    JavaScript 13 3

  6. year-range-regex year-range-regex Public

    Generates a regular expression for validating a range of years.

    JavaScript 15 3

Repositories

Showing 10 of 52 repositories
  • doi-regex Public

    Regular expression for matching DOIs

    regexhq/doi-regex’s past year of commit activity
    HTML 30 MIT 5 0 0 Updated Jun 14, 2024
  • rgba-regex Public

    Regex for matching RGBA color strings.

    regexhq/rgba-regex’s past year of commit activity
    JavaScript 11 MIT 2 1 0 Updated Mar 31, 2023
  • year-range-regex Public

    Generates a regular expression for validating a range of years.

    regexhq/year-range-regex’s past year of commit activity
    JavaScript 15 MIT 3 1 0 Updated Mar 16, 2022
  • regex-email Public

    Regular expression for email

    regexhq/regex-email’s past year of commit activity
    JavaScript 43 MIT 4 1 1 Updated Sep 15, 2021
  • coverage-code-regex Public

    Regular expression (regex) for matching ugly code that coverage tools add during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`

    regexhq/coverage-code-regex’s past year of commit activity
    JavaScript 2 MIT 0 0 0 Updated Feb 22, 2020
  • regex-iso-date Public

    Regular expression for ISO date

    regexhq/regex-iso-date’s past year of commit activity
    JavaScript 11 MIT 0 0 0 Updated Jan 28, 2020
  • vimeo-regex Public

    The correct Vimeo video id regex. Online: https://regex101.com/r/uW5oK9/5 or http://regexr.com/3begm

    regexhq/vimeo-regex’s past year of commit activity
    JavaScript 12 MIT 1 1 0 Updated Nov 11, 2019
  • word-regex Public

    Regular expression for matching words in a string. Support for english, CJK and Cyrillic.

    regexhq/word-regex’s past year of commit activity
    JavaScript 18 MIT 1 1 1 Updated Sep 12, 2018
  • path-root-regex Public

    Regular expression for getting the root of a posix or windows filepath.

    regexhq/path-root-regex’s past year of commit activity
    JavaScript 13 MIT 3 0 1 Updated Jun 14, 2018
  • regex-username Public

    Regular expression for usernames

    regexhq/regex-username’s past year of commit activity
    JavaScript 47 MIT 11 2 1 Updated May 10, 2018