Name validation

Hi,

I want to validation Name field Allowed letters,Space,Dot,Special character too ,It should be Not allowed number only.How to avoid numbers only.

array(‘first_name,last_name’, ‘match’, ‘pattern’ => ‘/^[A-Za-z0-9_]+$/u’, ‘message’ => ‘{attribute} contain Alphabets only’,),

It avoid Special character too.

This allows everything except numbers.


'/^[^0-9]+$/'

Thanq,Its working fine