How do you create a perl regex that matches the following conditions?
- Word length should be greater than 4 characters.
- Should not contain any non alphabetical characters (i.e.
. - " ,
)
So words like "barbar..", "bar.", "ba.." should be rejected in matching.