Regular Expressions 101

Sponsors

Library entries

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 - 12 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