Regular Expressions 101

Borderlands PC Shift Codes

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
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