Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
Java 8

"
(?<!refresh.)token(?!.type)\":\"(.*?)\"
"
gm

Description

Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749

Submitted by Pharaphara - 2 years ago