Regular Expressions 101

Community Patterns

Community Library Entry

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 - 9 years ago