Regular Expressions 101

Community Patterns

1...34567...901

Community Library Entry

4

Regular Expression
PCRE (PHP <7.3)

/
^([a-zA-Z0-9_=]+)\.([a-zA-Z0-9_=]+)\.([a-zA-Z0-9_\-\+\/=]*)
/

Description

Validate a Json Web Token (JWT).

Submitted by Erik Maas - 9 years ago