Build, test, and debug regular expressions
Matches Spotify URLs over http or https, with an optional 'open.' subdomain, capturing the resource type (user, episode, playlist, or track) in group 1 and the alphanumeric ID in group 2. It also tolerates the nested 'spotify/playlist/' path segment before the ID. With global and multiline flags, it's useful for extracting or validating all Spotify links (e.g., open.spotify.com/track/...) from multi-line text.