I got /^[a-zA-Z]+$/ to work for me. Is there a better/another way of doing this?
Thanks! On Mar 2, 1:05 pm, munim <[EMAIL PROTECTED]> wrote: > Hi > I am using the sfRegexValidator for form validation. The problem is, I > don't know the perl syntax for regular expressions. > Can someone give me the pattern for = > 1. multiple alphanumeric characters (like a username) I tried /[\w+]/ > and it didn't work. > 2. multiple letters (like a name) /[a-zA-Z]+/ didn't work. > please help. > Munim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
