@regexhq

RegexHQ

RegexHQ is centralized place for community-driven collections of RegExp patterns and tools that can make our life easier.

JavaScript 5 0

whitespace-regex

Regular expression for matching the whitespace in a string.

Updated May 22, 2016

JavaScript 2 1

unc-path-regex

Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.

Updated Apr 10, 2016

JavaScript 2 0

path-root-regex

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

Updated Mar 29, 2016

HTML 3 0

regexhq.github.io

Showcase web

Updated Jan 16, 2016

JavaScript 20 1

youtube-regex

The correct Youtube video id regex. Regex done right! Online: https://regex101.com/r/rN1qR5/2 and http://regexr.com/3anm9

Updated Nov 18, 2015

JavaScript 2 0

quoted-string-regex

JavaScript regular expression for matching a quoted string.

Updated Nov 2, 2015

doi-regex

Regular expression for matching DOIs

Updated Oct 2, 2015

JavaScript 3 0

word-regex

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

Updated Sep 22, 2015

JavaScript 3 0

coub-regex

The correct Coub.com video id regex. Online: https://regex101.com/r/tK5aZ5/1 or http://regexr.com/3bei9

Updated Sep 3, 2015

JavaScript 5 0

vimeo-regex

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

Updated Sep 3, 2015

JavaScript 2 0

es6-template-regex

Regular expression for matching es6 template delimiters in a string.

Updated Aug 11, 2015

JavaScript 3 0

year-range-regex

Generates a regular expression for validating a range of years.

Updated Aug 7, 2015

JavaScript 8 0

hexa-color-regex

Regex for matching hexa (hex with alpha) colors

Updated Jul 16, 2015

JavaScript 12 3

hex-color-regex

Regular expression for matching hex color values from string.

Updated Jul 14, 2015

JavaScript 2 0

dotdir-regex

Regex for matching dot-directories, like '.git/'.

Updated Jul 7, 2015

JavaScript 3 9

url-regex

forked from kevva/url-regex

Regular expression for matching URLs. As of Feb 2016 it is little bit outdated folllow https://github.com/kevva/url-regex

Updated Jun 22, 2015

JavaScript 0 2

import-regex

forked from kevva/import-regex

Regular expression for matching CSS @imports

Updated Jun 18, 2015

JavaScript 1 4

credit-card-regex

forked from kevva/credit-card-regex

Regular expression for matching credit card numbers

Updated Jun 18, 2015

JavaScript 0 1

bitcoin-regex

forked from kevva/bitcoin-regex

Regular expression for matching Bitcoin addresses

Updated Jun 18, 2015

JavaScript 0 2

base64-regex

forked from kevva/base64-regex

Regular expression for matching base64 encoded strings

Updated Jun 18, 2015