Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-05-29 07:11
Flavor·PCRE (Legacy)

/
^(\([A-Z]\([0-9]\)[A-Z]\([a-z0-9]{20,28}\)\))\/?(.*)
/
Open regex in editor

Description

This matches a ASP Cookieless SessionId. Useful if, for example, after deprecating Cookieless sessions you want to redirect any clients with a cached sessionId to the plain url.

Submitted by Zumey