Test, validate and match regular expressions
Matches JSON Web Token (JWT) patterns in text. JWTs typically start with 'eyJ' (base64-encoded '{') followed by base64url-encoded header, payload, and signature segments separated by dots. This pattern captures standard 3-segment JWTs and some variations, useful for security scanning and token detection in logs or source code.