Multiple words in any order using regex [duplicate]

You can use

(?=.*test)(?=.*long)

Source: MySQL SELECT LIKE or REGEXP to match multiple words in one record

Leave a Comment