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 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 Public

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

    JavaScript 87 8

  3. 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 Public

    Regular expression for usernames

    JavaScript 47 11

  5. path-root-regex Public

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

    JavaScript 13 3

  6. year-range-regex Public

    Generates a regular expression for validating a range of years.

    JavaScript 15 3

Repositories

Showing 10 of 52 repositories