Syntax highlighter for regular expressions

Seems this exists, but I’m not sure how well it fits what you’re doing.