user can now check regex against string which they enter