I need a regex to detect the key and value in a text file, The key will be uppercase and the value will contain at least one lower case or digit
E.g.: "ADDRESS""32 street 90. ETC""AGE""13""CLASS""ABC" ....
Regex:
"[A-Z]+"`"((.*\d.*)|(.*[a-z]))"`
"[A-Z]+" to match the key
"((.*\d.*)|(.*[a-z]))" to match the value
But the value match the first value till the file end. Any ideas ?
Note: The regex should match ADDRESS and AGE only not CLASS