Test, validate and match regular expressions
This regex captures the value of an 'appIdentity' path parameter from URLs or slash-delimited strings. It matches 'appIdentity=' either at the start of a line or preceded by a forward slash, then captures all characters up to the next slash. With global and multiline flags enabled, it can extract multiple values across lines, making it useful for parsing URLs, API routes, or log entries.