Community Patterns

Community Library Entry

1

Regular Expression
Created·2020-07-23 23:24
Flavor·Python

r"
(^[A-Z0-9_]+)(\=)(.*\n(?=[A-Z])|.*$)
"
gm
Open regex in editor

Description

Hunts for the key and value in environment variables separated by newlines. All keys must be uppercase

Submitted by anonymous