daydreamer Posted March 2, 2009 Share Posted March 2, 2009 How do I find a string that will be in this format (but changing) in html source code using pregmatch? M350827t6asadbccaa5da0e2i7eaab015 preg_match('/[a-z0-9]/', $xxx, $matches); print_r($matches); How would I find 32 x [a-z0-9], with no spaces ignoring the case? Thanks. Link to comment https://forums.phpfreaks.com/topic/147578-solved-preg-match-to-find-string-32-chars-long-in-html-code/ Share on other sites More sharing options...
phant0m Posted March 2, 2009 Share Posted March 2, 2009 with: /[a-z0-9]{32}/i Link to comment https://forums.phpfreaks.com/topic/147578-solved-preg-match-to-find-string-32-chars-long-in-html-code/#findComment-774768 Share on other sites More sharing options...
daydreamer Posted March 3, 2009 Author Share Posted March 3, 2009 ok thanks thats it. Link to comment https://forums.phpfreaks.com/topic/147578-solved-preg-match-to-find-string-32-chars-long-in-html-code/#findComment-775184 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.