CosmosRP Posted February 23, 2011 Share Posted February 23, 2011 preg_match('/\<color\i*=\042[0-9A-Za-z]+?\042\s*>/', $M); Currently, this only matches <color="">, but I want it to be case insensitve and also match <COLOR. Is that possible? Quote Link to comment Share on other sites More sharing options...
sasa Posted February 23, 2011 Share Posted February 23, 2011 change to preg_match('/\<color\i*=\042[0-9A-Za-z]+?\042\s*>/i', $M); add modifer i 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.