Hi!:
I´m testing this simple regex to validate the content of a user response:
It matches capital letters, numbers and whitespaces. It seems to be correct and works fine.
But assume I would like to include the unicode char "á".
I've tested the following regexes with no results:
Code:
/^[áA-Z0-9\s]+$/
/^[\x00E1A-Z0-9\s]+$/
/^[\x{00E1}A-Z0-9\s]+$/
/^[\u00E1A-Z0-9\s]+$/
0x00E1 is the hex code value for "á"
Can anybody help with this?
Thanks in advance