You can try using the Instr function. The Instr function returns an integer specifying the starting position of the first occurrence of a string in another string.
I did a simple test, select the data row of the table. Then set the expression for BackgroundColor in the property.
Preview:
Best regards,
Aniya