ozone Posted February 24, 2007 Share Posted February 24, 2007 Hi, how to check string for: starting with a letter, and can continue with any letters or any numbers, string can be and 1 symbol lenght. ??? how to do that? Quote Link to comment Share on other sites More sharing options...
effigy Posted February 24, 2007 Share Posted February 24, 2007 /^[A-Za-z][A-Za-z0-9]*\z/ Quote Link to comment Share on other sites More sharing options...
magnetica Posted February 26, 2007 Share Posted February 26, 2007 A good video tutorial that explains a lot about RegEx can be found at: http://www.phpvideotutorials.com/regex And it covers a lot of Preg and Match Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.