I have a database filled with product names, all of wich follow a strict and identical naming pattern like this European 222/555/111 obtained
I want to run a 'for each row in table' little php script and extract the 3 substrings in part 222/555/111
and add the three in separate columns but I'm failing to do the extraction.Should I use preg_split or preg_match?
My strings all start with the word 'European' then a space and after that the three options I need separated with /, these could also be only 2 characters like
European 96/43/55c strings strings
Should have
$option1 = 222
$option2 = 555
$option3 = 111