I want to check if a string like "me and her" contains a value from an array. The array could look like:
[" and ", "Mr", "sir"]
If it does it should return false. That means that "John Doe" should return true but "Mr. John Doe" or "john and Jane Doe" should return false
I don't think I can use $.inArray as it only checks for the specific value and not part of the string.
Anyone?