Simple PHP Regex question
- by Dave Kiss
Hi all,
I'd like to validate a field in a form to make sure it contains the proper formatting for a URL linking to a Vimeo video. Below is what I have in Javascript, but I need to convert this over to PHP (not my forte)
Basically, I need to check the field and if it is incorrectly formatted, I need to store an error message as a variable.. if it…