Regular Expressions 101

Sponsors

Library entries

0
pcre2

regex-input-number

regex-input-number
Submitted by me - an hour ago
0
pcre2

find abc in string

first test
Submitted by anonymous - 5 hours ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 7 hours ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 7 hours ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 7 hours ago
0
pcre2

Remove Hatena blog keyword

Remove Hatena blog keyword
Submitted by anonymous - 9 hours ago
0
pcre2

嵌入条件

嵌入条件
Submitted by anonymous - a day ago
0
pcre2

Ipv4 validation

regex for ip validation
Submitted by Amper - 2 days ago
0
pcre2

Split The Phone Numbers

Split The Phone Numbers
Submitted by anonymous - 2 days ago
0
pcre2

optional character

match strings with some optional characters
Submitted by anonymous - 7 days ago
0
pcre2

optional

optional
Submitted by anonymous - 7 days ago

Detect/Validate DMS coordinates

Vote

0

Regular Expression
javascript

/
(?:90|(?:[0-8]{0,1}[0-9]))[°\s](?:[0-5]{0,1}[0-9])['\s](?:[0-5]{0,1}[0-9](?:[.,]\d{1,5})?)["\s]{0,1}[NS]\s?,?\s?(?:180|(?:1[0-7]{1}[0-9]{1})|(?:0?[0-9]{1}[0-9]{1})|(?:[0-9]{1}))[°\s](?:[0-5]{0,1}[0-9])['\s](?:[0-5]{0,1}[0-9](?:[.,]\d{1,5})?)["\s]{0,1}[EW]
/
g

Description

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