Regular Expressions 101

Sponsors

Library entries

0
javascript

common

these are my common regexp
Submitted by muma - 4 years ago
0
javascript

elevator openings

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

Search z-index: -1

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

Android Build Number

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

location 2

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

location 2

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

Location

City, ST format
Submitted by Antoinne McKinney - 4 years ago
0
javascript

Location

City, ST format
Submitted by Antoinne McKinney - 4 years ago
0
javascript

Company check

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

a

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

facebook profile url

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

Parse fonction name

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

test

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

heat - variable

no description available
Submitted by anonymous - 4 years ago

Time conversion

Vote

0

Regular Expression
javascript

/
(\+|\-)?(\d{1,})(?:\s|)(ms|millisecond(?:\(s\)|s|)|second(?:\(s\)|s|)|sec|s(?:\s|$)|minute(?:\(s\)|s|)|min|m(?:\s|$)|h(?:\s|$)|hour(?:\(s\)|s|)|h(?:\s|$)|day(?:\(s\)|s|)|d(?:\s|$)|week(?:\(s\)|s|)|w(?:\s|$)|month(?:\(s\)|s|)|mm(?:\s|$)|year(?:\(s\)|s|)|y(?:\s|$))(?:\s|$)?
/
gim

Description

Loading markdown...
Submitted by anonymous - 5 years ago