D DarknessFalls New Member Sep 16, 2012 #1 I am trying to extract \[code\]1\[/code\] and \[code\]125\[/code\] from this text with PHP:\[code\]preg_match("/^(?P<digit>\d+)/", "1 Foo ($125)",$m)\[/code\]Can you please help?Thanks
I am trying to extract \[code\]1\[/code\] and \[code\]125\[/code\] from this text with PHP:\[code\]preg_match("/^(?P<digit>\d+)/", "1 Foo ($125)",$m)\[/code\]Can you please help?Thanks