I have regex as /^[a-zA-Z ]+$/
now I need to add support for unicode characters and so am using \p{L}
like '/^[a-zA-Z ]+$\p{L}/'
.
This is not working for me and I am not sure that this is correct way of using it. I am new to regex and would appreciate any guidance.
Thanks.