pippo30
(Daniel House)
1
Hi everyone,
I would know if there is a pattern for name and surname rule validation.
However "my rules" are these:
name: every letter from [a-Z], [A-Z], every letter with accents, " ", “’”, “.”, “?”, “-”, “(”, “)”
surname: every letter from [a-Z], [A-Z], every letter with accents, " ", “’”, “.”, “?”, “-”
surname (2nd version) : like previous with ","
Anyone can help me with patterns?
Thanks a lot!
patrickm
(Yiiframework)
3
pippo30
(Daniel House)
4
Can you help me with my reg expression?
The name field can include
-
every letter from [a-z] and [A-Z]
-
every special alphabetic char like è, ç, ü, ß, etc
-
these chars:
" "
'
.
?
-
(
)
Thanks
patrickm
(Yiiframework)
5
No, sorry, you might want to ask in a general PHP forum or on SO for that.
tri
(tri - Tommy Riboe)
6