Report question

Question: How to check if the string is a regular expression or not