Regular Expressions 101

Sponsors

Library entries

1
javascript

soundclouds url in <a>

soundclouds url in
Submitted by ogerly - 7 years ago
1
javascript

youtube link

+ link + id
Submitted by ogerly - 7 years ago
1
javascript

date regex

match dd-mm-yyyy
Submitted by anonymous - 7 years ago
1
javascript

Everthing in an element

no description available
Submitted by anonymous - 7 years ago
1
javascript

US Zip Code Validation

5 digits and no 0 5/4 times
Submitted by Ashish - 7 years ago
1
javascript

try1

try1
Submitted by anonymous - 7 years ago
1
javascript

git://git.apache.org/aurora.git

no description available
Submitted by anonymous - 7 years ago
1
javascript

Floating Point

Tests a floating point number
Submitted by Josh L. Rasmussen - 7 years ago
1
javascript

pure url and uri

no description available
Submitted by Thiago Souza - 7 years ago
1
javascript

Email Regex

no description available
Submitted by anonymous - 7 years ago

Units RegExp

Vote

1

Regular Expression
javascript

/
(?:(?:(\d*(?:\d*(?:.?,?)*?)*?)(.?|,?)(\d*)) ?(k|m|g|c|d|p)?(mi|bbl.|cu.|doz.|fl.? ?oz|F|ft|gal|gr|in|k|lb|mph|n.m|oz|pt|qt|sq|rpm|tablespoon|teaspoon|tbsp|tsp|td|l |m|m|b|g|kl|l |C |g|m|mt|w)(?:\/?(h|s|m)?).? *?(?:\^ *?(\d+))?)(?= |\n|\r)
/
gi

Description

Loading markdown...
Submitted by Javier Matusevich - 7 years ago