I need the regex method in rails for the european language special characters like eg. é, ä, ö, ü, ß. Kindly help me.
I need the regex method in rails for the european language special characters like
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Regular expressions will work just fine with “special” characters. If you’re wanting to match a set of special characters, you’ll need to tell the expression exactly what those characters are. Your definition of “special” might not match the next guy’s.
For instance, if you wanted to see if a string contains any of the characters you listed above, you can do this:
I hope this helps!