Is there syntax validator for Regex?
<p>I have a textbox where user can input Regex string which shall be then used as Regex match pattern.</p>

<p>I wonder if there is a way to validate the syntax of the input?
How do I know if it is valid Regex pattern or not?</p>

<p>I would not like the user to be able to input anything, but just valid Regex pattern.</p>

<p>Thanks!</p>
