RegexHQ
Collaboration on a world-wide community-driven collection of RegExp patterns and tools that can make our life easier.
Global
Pinned Repositories
filename-regex
Regular expression for matching file names, with or without extension.
function-regex
Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.
hex-color-regex
Regular expression for matching hex color values from string.
mentions-regex
100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.
path-root-regex
Regular expression for getting the root of a posix or windows filepath.
regex-email
Regular expression for email
regex-username
Regular expression for usernames
regexhq
Logo license and organization discussion.
year-range-regex
Generates a regular expression for validating a range of years.
youtube-regex
Best YouTube Video ID regex. Online: https://regex101.com/r/rN1qR5/2 and http://regexr.com/3anm9
RegexHQ's Repositories
regexhq/mentions-regex
100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.
regexhq/regexhq
Logo license and organization discussion.
regexhq/regexify
regexify everything!
regexhq/gfm-code-block-regex
RegExp for gfm (GitHub Flavored Markdown) code blocks.
regexhq/path-regex
Regular expression for matching the parts of a file path.
regexhq/hexa-color-regex
Regex for matching hexa (hex with alpha) colors
regexhq/dirname-regex
Regular expression for matching the directory part of a file path.
regexhq/github-short-url-regex
Regular expression (Regex) for matching github shorthand (user/repo#branch).
regexhq/regex-utc-date
Regular expression for UTC date
regexhq/url-regex
Regular expression for matching URLs. As of Feb 2016 it is little bit outdated folllow https://github.com/kevva/url-regex
regexhq/ext-regex
Regular expression for matching file extensions.
regexhq/mac-regex
A regular expression for matching MAC addresses.
regexhq/regexhq.github.io
Showcase web
regexhq/glob-path-regex
Regular expression for matching the path parts in a glob pattern.
regexhq/noncharacter-regex
Regular expression for matching or stripping non-characters from a string.
regexhq/coub-regex
The correct Coub.com video id regex. Online: https://regex101.com/r/tK5aZ5/1 or http://regexr.com/3bei9
regexhq/author-regex
Regular expression for parsing an `author` string into an object following npm conventions.
regexhq/bitcoin-regex
Regular expression for matching Bitcoin addresses
regexhq/floating-point-regex
Regular expression for matching floating-point literals.
regexhq/base64-regex
Regular expression for matching base64 encoded strings
regexhq/import-regex
Regular expression for matching CSS @imports
regexhq/skype-regex
Regular expression for matching Skype URLs