Just to note that doesn't quite do what you asked. You specifically required that the string starts with "eui-" but the Switch node will pass any message that contains "eui-" anywhere in the string even if it does not start with that. So it would pass "eui-xxxx" but also aeui-xxxxx