10 lines
241 B
PHP
10 lines
241 B
PHP
<?php
|
|
$string = get("string");
|
|
//$string = strtoupper($string);
|
|
$pattern = get("regex") ;
|
|
//$pattern = str_replace("***", "[.,-_]", $pattern);
|
|
preg_match($pattern, $string, $matches);
|
|
///Rev[-_\s]?(\d+)/
|
|
//dump($_GET);
|
|
dump($matches);
|
|
?>
|