Hi,
I'm having trouble with preg_match. I want to get the value in
parenthese from this pattern
$pattern = "/ab(.*)cde/";
$str = "abxyzcde";
What preg_match expression would i have to write to get the value "xyz"
into a string?
I'm using php 4.4.4. Thanks, - Dave
I'm having trouble with preg_match. I want to get the value in
parenthese from this pattern
$pattern = "/ab(.*)cde/";
$str = "abxyzcde";
What preg_match expression would i have to write to get the value "xyz"
into a string?
I'm using php 4.4.4. Thanks, - Dave
Comment