Regular Expressions 101

Sponsors

Library entries

1
java

sfdgvsdgdfg

dgfdgdf
Submitted by anonymous - 2 years ago
1
pcre2

One or more spaces

Find one or more spaces
Submitted by anonymous - 2 years ago
1
java

标点

匹配大部分标点
Submitted by anonymous - 2 years ago
2
pcre2

US phone number

US phone number, try to catch as many as possible
Submitted by anonymous - 2 years ago
1
pcre2

aws-arn-parser

this helps in parsing aws arn's
Submitted by anonymous - 2 years ago
2
pcre2

object

Json Object
Submitted by anonymous - 2 years ago
1
pcre

PIM - Attribute not localized

see
Submitted by anonymous - 2 years ago
1
pcre2

Gitlab - Commit message

Commit message for Gitlab's Push Rules
Submitted by anonymous - 2 years ago
1
pcre2

Gitlab - Branch name

Branch name for Gitlab's Push Rules
Submitted by anonymous - 2 years ago
1
pcre2

2

2
Submitted by anonymous - 2 years ago

Email Regex

Vote

0

Regular Expression
java

"
(?:[A-Za-z0-9!#$%&'*+/=?.^_`{|}~-]+(?:.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[x01-x08x0bx0cx0e-x1fx21x23-x5bx5d-x7f]|[x01-x09x0bx0cx0e-x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])).){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[x01-x08x0bx0cx0e-x1fx21-x5ax53-x7f]|[x01-x09x0bx0cx0e-x7f])+)])
"
gm

Description

Loading markdown...
Submitted by Suman Maharjan - 2 years ago