I have a problem with a regexp in a java validation.
RegExp: "Office Boss|Standard Employee" The string I am trying to validate with the expression is "Office Boss" for example, and when I use "matches" function it always return "false".
I am pretty sure it is for the white space, but how can I solve it? I want to validate if the text is one of the two values in the expression only.
Thanks.