Regular Expressions 101

Community Patterns

Extract All Steam Keys

3

Regular Expression
PCRE (PHP <7.3)

/
[A-Z0-9]{4,5}-[A-Z0-9]{4,5}-[A-Z0-9]{4,5}
/
g

Description

Extract all Steam Keys from a Given String

Submitted by Ashesh Kumar - 8 years ago