Regular Expression Testing Tool
Number of matches:
$numMatches
"); print("
"); foreach( $matchStrings as $match ) { print("
$match
"); } print("
"); print_r($matches); } else { print( $message ); } print("
"); } ?>
Type your regular expression:
Type the test text:
Choose a method:
selected="selected">preg_match
selected="selected">preg_match_all