I am very new to regex, and this is way too advanced for me. So I am asking the experts over here.
Problem I would like to retrieve the constants /
This is possible, but I would rather use get_defined_constants(). But make sure all your translations have something in common (like all translations starting with T), so you can tell them apart from other constants.