Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
Redirecting to .*?\?from=(?P<from>[\.a-z0-9]+)&exportFileName=(?P<exportFileName>[\.a-z0-9]+)(?:&to=(?P<to>[\.a-z0-9]+))?(?:\&lang=(?P<lang>[a-z]+))?(?:\&action=(?P<action>[a-z\-]+))?
/
gX

Description

Redirecting to .*??from=(?P<from>[.a-z0-9]+)&exportFileName=(?P<exportFileName>[.a-z0-9]+)(?:&to=(?P<to>[.a-z0-9]+))?(?:&lang=(?P<lang>[a-z]+))?(?:&action=(?P<action>[a-z-]+))?

Submitted by anonymous - 7 years ago