Bizarrely, it works perfectly in RegexBuddy!!!
Code: Select all
\b([a-zéä]+\-?[a-zéä]*){3,}\bI am pretty new to regex, but I think I am asking for any words(inc. French), min 3 chars in length, which may contain a hyphen...
Oh, I also use the /i (case insensitive) modifier...
Thanks
Seppo