newsok on 10/26/10
Last Edited at 10/26/10 03:39am
$string = "#555555";if (preg_match('/^#(?:(?:[a-fd]{3}){1,2})$/i', $string)) {echo "example 6 successful.";}
Report this snippet Tweet
Comment:
You need to login to post a comment.