.*RegexQuick

Env Variable Regex

Regex for parsing environment variable files (.env format).

^([A-Z_][A-Z0-9_]*)=(.*)$
//
0 matches

About this pattern

Parse .env files with this pattern: variable name (uppercase letters, digits, underscores starting with a letter) followed by = and the value. Handle quoted values separately: the value portion may be wrapped in single or double quotes.

More patterns