Hi everyone again, looks like I'm back to this...
The manufacturers name may be any one of the following examples:
Soundlab
Allen & Heath
Pioneer
Blackberry
Nokia
The below ARE different manufacturers:
Sony Erricson
Sony
And I need the following to work for all those manufacturer names:
When there's a space: Sound Lab (would still match 'Soundlab'),
When there's a hyphen: Sony-Erricson ('Sony Erricson')
When there's a dash instead of a & symbol ('Allen-Heath')
a space insead of a & symbol: ('Allen Heath') would still match 'Allen & Heath',
Also: where a single word would NOT match something with more than one word for example:
'Sony Erricson' would NOT match 'Sony'; but 'SoNy' would match 'Sony'.
I know this is getting really complicated, but my regexp skills are non-existent.
I really need ONE single pattern to do all this for me, would anyone be willing to write a regexp pattern for preg_match or ereg_match or whatever that would help me with this?