maxudaskin Posted April 2, 2008 Share Posted April 2, 2008 What on earth are the characters that go in this? <?php preg_match_all('/\[img\](.*?)\[\/img\]/', $message, $image, PREG_PATTERN_ORDER); ?> Well the find part... how do I write something in there? Quote Link to comment https://forums.phpfreaks.com/topic/99083-preg_match_all/ Share on other sites More sharing options...
maxudaskin Posted April 2, 2008 Author Share Posted April 2, 2008 Anyone want to help me? Quote Link to comment https://forums.phpfreaks.com/topic/99083-preg_match_all/#findComment-506999 Share on other sites More sharing options...
teng84 Posted April 2, 2008 Share Posted April 2, 2008 explain the problem properly and i guess put it on the right board .... "regex" Quote Link to comment https://forums.phpfreaks.com/topic/99083-preg_match_all/#findComment-507014 Share on other sites More sharing options...
trq Posted April 2, 2008 Share Posted April 2, 2008 Sounds like your looking for a tutorial on regular expressions. That is what is expected as the first argument to preg_match* Quote Link to comment https://forums.phpfreaks.com/topic/99083-preg_match_all/#findComment-507089 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.