[PHP] reg ex help

2005-11-04 Thread conditional motion
New to php so please bear with me. I'm trying to parse through a field that has some information in it, the information is stored with other information and is delimited in a certain pattern so I figure using reg ex I can get the information I want out of the text. So here is an example. Silver

Re: [PHP] reg ex help

2005-11-04 Thread conditional motion
The problem with that is there are about 40 different listings in the one field. Silver Small Corp;X^%\n#\n Gold Medium Corp;RE^%\n#\n Platinum Large Corp;YRE^%\n#\n being three of them so maybe this is a bettter way of listing it ... Silver Small Corp;X^%

Re: [PHP] reg ex help

2005-11-04 Thread conditional motion
Here is what the field content from the database would look like. I have removed any sensitive data. str = "Name;Grill Transom (GT302)^% - Sort;Find/Replace^% - Calc;2568.09x^% - Type;Veck^% - PO Number;^% - Previous Order Number;^%%

Re: [PHP] reg ex help

2005-11-04 Thread conditional motion
The name like "Roch Small Sum" and others dont change, they will be in there whether there is a value associated with them or not. On 11/4/05, conditional motion <[EMAIL PROTECTED]> wrote: > Here is what the field content from the database would look like. I > have remo