Regular Expressions 101

Sponsors

Library entries

1
java

标点

匹配大部分标点
Submitted by anonymous - a year ago
1
java

sfdgvsdgdfg

dgfdgdf
Submitted by anonymous - a year ago
1
java

11

11
Submitted by 11 - 10 months ago
1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - 6 months ago
1
java

IP Address

(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by anonymous - 14 days ago

9 Digit SSN String

Vote

1

Regular Expression
java

"
.*\b((?:(?!666|000)[0-8][0-9_]{2}[.-]?(?!00)[0-9_]{2}[.-]?(?!0000)[0-9_]{4}|[0-9]{9}))\b.*
"
gm

Description

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