Problems with Is Match activity

activities
regex

#1

Hi,

I`m having difficulties with the isMatch activity or the String.contains activity. Both methods giving me not the right result …

I try to make an automation for filling in an online request based on values of an excel list but in the online form there are also dropdown menus so I used the get children activities for listing the different choices of this menu to compare it with the one value in the excel sheet …
But bot the is Match activity and de String.contains activity giving a false result when they actually should give a true result however when I tried the two methods again but this time I typed the correct matching choice of the dropdown menu myself between “” in UiPath studio than the result gives me true, but when I try with a variabele with exactly the same value than the result gives false … Does anybody know what the problem; here is because I’m getting a little bit desperate here …
below you can find an output of the isMatch activity tried with a variable …

Pattern