Regular Expressions 101

Sponsors

Library entries

1
javascript

Date 01

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

time

get time in string 33:20 a.m
Submitted by Hoang Phuong - Gia Lai - 7 years ago
1
python

Date

Find and ISO format date.
Submitted by Andrew Chalk - 7 years ago
1
javascript

123

fsd
Submitted by fds - 7 years ago
1
python

PECL: find stable versions

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

Domain Regex (line start)

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

get rid of hash tag

no description available
Submitted by LittlePiggy - 7 years ago
1
python

java

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

Regex - global match, multiline

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

date Format

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

signal

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

message

no description available
Submitted by anonymous - 7 years ago

isDateTime

Vote

0

Regular Expression
javascript

/
^(\b([0-3]{1}?[0-9]{1})(\/|-)([0-1]{1}?[0-9]{1})(\/|-)([1-2]{1}[0-9]{3})( |-| - )([1-9]{1}[0-9]{1}|[0-2]{1}[0-9]{1}):([0-5]{1}?[0-9]{1}):([0-5]{1}?[0-9]{1})\b)|(\b([0-3]{1}?[0-9]{1})(\/|-)([0-1]{1}?[0-9]{1})(\/|-)([1-2]{1}[0-9]{3})\b)$
/
gmi

Description

Loading markdown...
Submitted by Rafael Fischer - 7 years ago