I would use the following regex to match one
two
or three
seperated by ;
,
or space
/(^\s*(one|two|three)\s*$|(^\s*(one|two|three)([ ,;]+(one|two|three))+\s*$))/gm
Test more here: https://regex101.com/r/ETN5go/4
3
solved Regex to match all strings with a trust list only