Hi
I'm happy to pay someone that can write me a regexp that does the following.
Allows:
' - single quotes
& - ampersands
- single space
any letters or digits in any language eg acompáñame
It has to fit into the filter_var I have below, which returns true if a match on an illegal character is found (the regexp I have in there isn't working how I want):
if(filter_var($myWords, FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>"/^[' &\p{L}\p{Nd}]*$/"))) === false) return true;
I will need to test it to make sure it works for what I need, and will need you to rework the regexp if it doesn't.
Payment would be via Paypal.
Thanks guys

