How to create a regexpression for a name with just letters and one "-" i java?
I'm trying to validate a name with a regular expression in my android app. 

So the rules that I have is; only letters, no spaces or anythin (a-ö, A-Ö), and only one hyphen.
I have tried but the res expression language gives my head ache...

Thanks in advance!
How to create a regexpression for a name with just letters and one "-" i java?
===

I'm trying to validate a name with a regular expression in my android app. 

So the rules that I have is; only letters, no spaces or anythin (a-ö, A-Ö), and only one hyphen.
I have tried but the res expression language gives my head ache...

Thanks in advance!