Regexp always seemed overcomplicated to me, so I have learned few basic patterns (like [^ }+) and from that time I have no problems and everything can be made with that :D
2011/6/30 h4llp4ss <[email protected]> > Google 'regex' and learn... also regexlib.com is good for freebies as well > :) Regex testers will help make it easier to learn. > > - Rick > > On Jun 29, 2011, at 1:18 PM, Amit Arora <[email protected]> wrote: > > > Hi > > > > I am trying to create a phone validation which will pass phone numbers > > in following format: > > > > 1234567 > > 12345678 > > 123456789 > > 1234567890 > > 123-456-7890 > > (123)456-7890 > > 456-7890 > > > > > > Regards > > Amit > > > > -- > > You received this message because you are subscribed to the Google > > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > > Web Services,.NET Remoting" 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/dotnetdevelopment?hl=en?hl=en > > or visit the group website at http://megasolutions.net > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" 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/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" 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/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
