OliverH

Parentheses in Field Validator

0 votes
Hi team, We have a requirement to include Parentheses in Field Validator, for example, I want signer to input "Neder Over Heembeek (Bru.)" in a textfield. Currently, we set it this way: "pattern" : "^Neder Over Heembeek (Bru.)\\s?$" and it doesn't work. Please help me with this!

Reply to: Parentheses in Field Validator

0 votes
Hi Oliver, Please kindly try below pattern: "pattern": "Neder Over Heembeek [(]Bru.[)]" Since it's a single character, you can put it in a character class like [(] Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off