Regular Expressions 101

Community Patterns

1...45678...708

Username@Hostname:port w capture groups

1

Regular Expression
PCRE2 (PHP >=7.3)

/
"^%s_([0-9]+)\\.gamesave$"
/
g

Description

used to parse alphanum usernames @ hostnames w portnumbers utilizing capture groups

Submitted by Johnathan Smithers - 4 months ago (Last modified 3 days ago)