note 105924 added to function.preg-match

From: Date: Mon, 26 Sep 2011 06:38:30 +0000
Subject: note 105924 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-183426@lists.php.net to get a copy of this message
Simple regex Regex quick reference [abc] A single character: a, b or c [^abc] Any single character but a, b, or c [a-z] Any single character in the range a-z [a-zA-Z] Any single character in the range a-z or A-Z ^ Start of line $ End of line \A Start of string \z End of string . Any single character \s Any whitespace character \S Any non-whitespace character \d Any digit \D Any non-digit \w Any word character (letter, number, underscore) \W Any non-word character \b Any word boundary character (...) Capture everything enclosed (a|b) a or b a? Zero or one of a a* Zero or more of a a+ One or more of a a{3} Exactly 3 of a a{3,} 3 or more of a a{3,6} Between 3 and 6 of a options: i case insensitive m make dot match newlines x ignore whitespace in regex o perform #{...} substitutions only once ---- Server IP: 69.147.83.197 Probable Submitter: 176.89.85.152 ---- Manual Page -- http://www.php.net/manual/en/function.preg-match.php Edit -- https://master.php.net/note/edit/105924 Del: integrated -- https://master.php.net/note/delete/105924/integrated Del: useless -- https://master.php.net/note/delete/105924/useless Del: bad code -- https://master.php.net/note/delete/105924/bad+code Del: spam -- https://master.php.net/note/delete/105924/spam Del: non-english -- https://master.php.net/note/delete/105924/non-english Del: in docs -- https://master.php.net/note/delete/105924/in+docs Del: other reasons-- https://master.php.net/note/delete/105924 Reject -- https://master.php.net/note/reject/105924 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183426) next »