Regular Expressions 101

Sponsors

Library entries

1
javascript

bb

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

OPC UA Server

Gets IP-Address/host name from URL
Submitted by anonymous - 6 years ago
-1
javascript

Arabic AlphaNumeric

Arabic AlphaNumeric text
Submitted by Ahmed - 6 years ago
1
javascript

passage parser

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

Javascript GUID regex

Validate GUID using a regex expression
Submitted by stom - 6 years ago
1
javascript

HCPCS

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

ICD9

no description available
Submitted by anonymous - 6 years ago
4
javascript

UK Postcode

no description available
Submitted by msyed - 6 years ago
2
javascript

get href

gets value of href
Submitted by me - 6 years ago
1
javascript

syntax?

trying to figure out how to find variable names only
Submitted by me - 6 years ago
1
javascript

search file name from path / url

no description available
Submitted by anonymous - 6 years ago
0
javascript

Date expression

yyyy-mm-dd
Submitted by Alan - 6 years ago
0
javascript

zepit multiline

no description available
Submitted by antoine - 6 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