My opinion for your case we cannot go with no case sensitive or ignore spaces for selectors. instead of that my suggestion would be we can make variable to match with the selector to resolve the issue.
val = BER67283722 ACTIVE72930-GT-(2D)928TGH
FinalVal = val.replace(“ACTIVE”,"ACTIVE ")
FInalVal we get like → BER67283722 ACTIVE 72930-GT-(2D)928TGH now it is matching with the selector.
you can assign the final val to selectors as dynamic selector to achieve the issue.
But only one concern is always we have to get the selector with the keyword ACTIVE.
please try if the above logic is ok with your requirement. thanks.
Thank you for your suggestion.
The val is also coming from different variables that I combine with.
But I’ve tried the final val method you mentioned seems to work.