preg_match( ) calls and what they match : preg_match « String « PHP
Web Services SOAP WSDL
preg_match( ) calls and what they match
Related examples in the same category
Capturing with nested parentheses
Capturing with preg_match()
Check quotes in a file
Combine patterns with the pipe (|) character to create branches
Checking the syntax of an e-mail address
preg_match() function returns true if pattern exists, and false otherwise.
Matching Patterns with preg_match()
Matching with preg_match()
PREG_OFFSET_CAPTURE and preg_match()
Using preg_match to return an array of matches that start with ple
Detecting ZIP Codes in Strings
Looking for any lowercase alphabetical character or the numbers 3, 4, and 7
Efficiently finding lines that match a pattern
Find the first "p" string and match as many characters as possible until the last possible "t" is reached.
Finding All Matching Lines in a File
Finding Lines with an Odd Number of Quotes
Finding Repeated Words
Finding Words Not Followed by Other Words
Finding the nth Occurrence of a Match
Get the start and end of the string when m is enabled, you should use \A and \z, like this:
Negate the characters in the character class
Parsing a date with a regular expression
Words and Whitespace Regexps
i renders the regular expression non case sensitive
s modifier: use . to match characters across multiple lines.
Regular expressions using +, *, and ?
Regular expressions using braces
Put the word boundary character to the test
Validating numbers with regular expressions
Use regular expression to check each line of the code
Testing the Complexity of Passwords
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.