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 repositories

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

    JavaScript 70 3

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

    JavaScript 74 5

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

    JavaScript 24 4

  4. Regular expression for usernames

    JavaScript 40 8

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

    JavaScript 11 3

  6. Generates a regular expression for validating a range of years.

    JavaScript 14 3

You can’t perform that action at this time.