Yes, you can achieve this kind of configuration using the Grouping Assertions method. You can create mutliple contains assertions and group them to form a grouping assertion.
Once assertions have been created (two or more), they can be grouped as shown below. Grouped assertions can use either an AND or OR logic for more sophisticated assertion management.
AND: All assertions evaluated to VALID will assert a PASSED group condition
OR: At least one assertion within the group must evaluate to VALID to assert a group PASSED condition.
The only thing/limitation is, this feature may only be available with PRO version of SoapUI (but first you should check on your version too). Hope this helps you.