• Stars
    star
    30
  • Rank 839,658 (Top 17 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 10 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A regular expression for matching phone numbers.

More Repositories

1

mentions-regex

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

youtube-regex

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

regexhq

Logo license and organization discussion.
72
star
4

regex-username

Regular expression for usernames
JavaScript
48
star
5

regex-email

Regular expression for email
JavaScript
43
star
6

filename-regex

Regular expression for matching file names, with or without extension.
JavaScript
33
star
7

hex-color-regex

Regular expression for matching hex color values from string.
JavaScript
33
star
8

doi-regex

Regular expression for matching DOIs
HTML
30
star
9

function-regex

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

word-regex

Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
JavaScript
19
star
11

regexify

regexify everything!
JavaScript
16
star
12

es6-template-regex

Regular expression for matching es6 template delimiters in a string.
JavaScript
16
star
13

year-range-regex

Generates a regular expression for validating a range of years.
JavaScript
14
star
14

path-root-regex

Regular expression for getting the root of a posix or windows filepath.
JavaScript
13
star
15

path-regex

Regular expression for matching the parts of a file path.
JavaScript
13
star
16

gfm-code-block-regex

RegExp for gfm (GitHub Flavored Markdown) code blocks.
JavaScript
13
star
17

vimeo-regex

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

rgba-regex

Regex for matching RGBA color strings.
JavaScript
11
star
19

regex-iso-date

Regular expression for ISO date
JavaScript
11
star
20

hexa-color-regex

Regex for matching hexa (hex with alpha) colors
JavaScript
11
star
21

hsl-regex

Regex for matching HSL color strings.
JavaScript
10
star
22

todo-regex

Regular expression for matching TODO statements in a string.
JavaScript
10
star
23

dirname-regex

Regular expression for matching the directory part of a file path.
JavaScript
10
star
24

copyright-regex

Regular expression for matching and parsing copyright statements.
JavaScript
10
star
25

regex-utc-date

Regular expression for UTC date
JavaScript
10
star
26

dotfile-regex

Regular expresson for matching dotfiles.
JavaScript
10
star
27

whitespace-regex

Regular expression for matching the whitespace in a string.
JavaScript
10
star
28

punctuation-regex

Regular expression for matching punctuation characters.
JavaScript
10
star
29

github-short-url-regex

Regular expression (Regex) for matching github shorthand (user/repo#branch).
JavaScript
9
star
30

rgb-regex

Regex for RGB color strings.
JavaScript
8
star
31

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.
JavaScript
8
star
32

dotdir-regex

Regex for matching dot-directories, like ".git/" or ".github/"
JavaScript
7
star
33

mac-regex

A regular expression for matching MAC addresses.
JavaScript
6
star
34

ext-regex

Regular expression for matching file extensions.
JavaScript
6
star
35

quoted-string-regex

JavaScript regular expression for matching a quoted string.
JavaScript
6
star
36

regexhq.github.io

Showcase web
HTML
6
star
37

glob-path-regex

Regular expression for matching the path parts in a glob pattern.
JavaScript
5
star
38

hsla-regex

Regex for matching HSLA color strings.
JavaScript
5
star
39

noncharacter-regex

Regular expression for matching or stripping non-characters from a string.
JavaScript
4
star
40

coub-regex

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

floating-point-regex

Regular expression for matching floating-point literals.
JavaScript
2
star
42

coverage-code-regex

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