Hi,
I have a requirement of identifying certain special set of characters which are allowed in a field, rest if any other special character comes in the data field should be raised as a defect.
Please see the below set of data:
| Name | LENGTH | Result |
| Lee | 4 | Error |
| Linda | 6 | Error |
| Ad | 3 | Error |
| Lee | 3 | Pass |
| Linda | 5 | Pass |
| Ad | 2 | Pass |
My code is
if
REGEX_MATCH(trim([FirstName]),'[A-Za-z0-9\.\·\`\,\,\ \-\\ÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüŸ¡¿çÇŒœßØøÅ寿ÞþÐð]+') = 0
then 'F'
else 'T'
endif
The first three records are being raised a defect(coming from a systemic data), although i am unable to see any special character.
For testing purpose,I manually entered the names and they are getting passed, doing length check on those shows a difference.
Any help in identifying the root cause of this error and identify the special character so that i can pass that as well in the code.
Also any other perspective if i am missing, please let me know.
Thank you.