Check string contain multiple words inside

Hi everyone.

I have a string "I have an apple and I like play football "

I want to check if string contain both of words “apple” and “football” then it will return true.

I want to use two method to check this : Regex Or Match activity.

How to do it ?

Thanks you!

Check this regex example: https://regex101.com/r/CAzoZM/1
It shows variations to your use case and explains what each component means. Also that should work as your solution too :slight_smile:

1 Like

Thanks you bro :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.