Is it possible to detect a valid regular expression with another regular expression? If so please give example code below.

Edit
Report