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

Regex to capture AlphaNumeric String of 7 or 11 length(Must contain at least one Alphabet and Must contain at least one Numeric)

Vote

0

Regular Expression
java

"
\s(?=\w*[0-9])(?=\w*[A-Z])([A-Z\d]{11}|[A-Z\d]{7})\s
"
g

Description

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