Regular Expressions 101

Sponsors

Library entries

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

URL that allows IP

Vote

1

Regular Expression
javascript

/
^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$
/
i

Description

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