Regular Expressions 101

Sponsors

Library entries

1
javascript

Testing Header String Regex

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

Typo 3 Section

no description available
Submitted by Dan Schalow - 7 years ago
2
javascript

SSN

allow nine digits only
Submitted by anonymous - 7 years ago
1
javascript

yahya_asadi

trying to learn regex
Submitted by yahya_asadi - 7 years ago
0
javascript

text validation

allows white spaces, -, Umlaut and ß
Submitted by anonymous - 7 years ago
1
javascript

get user authentication

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

Validate US Telephone Numbers

no description available
Submitted by Davide Vozzi - 7 years ago
2
javascript

Remove XSS

no description available
Submitted by Harish Thakur - 7 years ago
1
javascript

Change Extension in File Name

Changes extension in a file name.
Submitted by Mi-L@ - 7 years ago
1
javascript

RNP

no description available
Submitted by KSrGEAR - 7 years ago
0
javascript

href parse v2

matches href, title, innerhtml
Submitted by chrysls - 7 years ago
2
javascript

Href parse

matches href, title, innerhtml
Submitted by chrysls - 7 years ago
1
javascript

password validation

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

FEN

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

FEN

FEN is "Forsyth-Edwards Notation"
Submitted by maxqua72 - 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