Regular Expressions 101

Sponsors

Library entries

0
java

phone number matcher

phone number matcher
Submitted by anonymous - 2 months ago
0
python

Email id extraction

extracting email id from given string
Submitted by anonymous - 2 months ago
0
python

lua_pattern

lua file name
Submitted by anonymous - 2 months ago
0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 3 months ago
0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 3 months ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 3 months ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 3 months ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 3 months ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 3 months ago

IP Address

Vote

0

Regular Expression
java

"
^((?:[01][0-9]{0,2}|(?:2(?:5[0-5]{0,1}|[0-4][0-9]{0,1}|[6-9]{0,1}))|[3-9][0-9]{0,1})\.){3}(?:[01][0-9]{0,2}|(?:2(?:5[0-5]{0,1}|[0-4][0-9]{0,1}|[6-9]{0,1}))|[3-9][0-9]{0,1})$
"
gm

Description

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