I try to execute a preg_match with PHP but I can not escape the slash properly. The preg_match should return subsrting between Prozessor and first slash
$str="Prozessor: AMD A-Serie A8-4500M / 19 GHz ( 28 GHz ) /";
preg_match('/Prozessor: (.*) \//', $str, $matches)
Prozessor: AMD A-Serie A8-4500M / 19 GHz ( 28 GHz ) /
I would like to get the name of the Processor which should give me back
AMD A-Serie A8-4500M
What I'm doing wrong