Regular Expressions 101

Community Patterns

FFXIV Lodestone Character profile

1

Regular Expression
PCRE (PHP <7.3)

/
([a-z0-9]+\.)*(finalfantasyxiv\.com)*(\/)*(lodestone)*(\/)*(character)*(\/)*([0-9]+)
/
gmi

Description

Parses full url up to character page. Ignores http:// and anything after character ID

Submitted by JaveLiner - 8 years ago