How do you check the regular expression for php?



  • The user on the website has the opportunity to introduce a regular expression for the teller, but how do you check if he correctly introduced it?



  • What does that mean? Syntaxically, is it? Or does the user get the expected entry? If synthaxis, preg_match() returns false at the wrong syntaxis, if you need to check the sample, it's a similar pregmatche but expects the food.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2