I have a lot of strings, and I need to check if each of them contains a color.
For example :
- A bird in the sky
- 22 street of France
- The dog is blue
- The cat is black and white
So, the two last strings must return true.
What is the best way to find it?
Regex, or check with any substr() ?