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? Link to comment https://forums.phpfreaks.com/topic/39935-pregmatch-howto/ 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/ Link to comment https://forums.phpfreaks.com/topic/39935-pregmatch-howto/#findComment-193030 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 Link to comment https://forums.phpfreaks.com/topic/39935-pregmatch-howto/#findComment-194097 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.