Regular Expressions 101

Community Patterns

Borderlands PC Shift Codes

1

Regular Expression
PCRE (PHP <7.3)

/
PC\D*((([\dA-Z]{5})-){4}\g<3>)
/
g

Description

Matches PC Shift Codes for borderlands 2 & Pre Sequel Capturing group 1 for complete code only

Submitted by jymannob - 9 years ago