Regular Expressions 101

URL with ASP Cookieless SessionId

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

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

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