Search for Regex with Regex

This is a command I developed to search for regular expressions using egrep:

egrep -r -e "[\^]?(\.\*)|(\[\w+*\-\w+*\])|(\{\d+[\,\d+]?\})[\$]?" .
Home