Đang Thực Hiện

134532 Simple data parsing function

Hello.

This is a very urgent and simply project. I need someone who very well familiar with regular expression and can help me modify the data from one format to another. I have table where one field contains data like this:

1/2 cup (85 g)

Per 1 Muffin

1/4 cup, 38g

1 tbsp

1/2 cup (125 mL)

Per 1 cup cooked (50g dry)

70

1 pancake (1/4 cup mix prepared)

1 potato / 380g

Those are the Serving Sizes - few per row. I need to have separate info about every serving size from every row.

So I need php function which will receive 1 field value(like this: "1 potato / 380g") and return array in this format: array('value' = 'unit'). (like this: array('1' = 'potato', '380' = 'g'))

In attachment more examples of data which I have.

Payment through PayPal only.

Regards,

Vitaliy.

Kỹ năng: Bất kì công việc gì, PHP

Xem thêm: regular expression examples, regular expression info, regular expression function, examples regular expression, potato, function, size function, regular expression help, php table array, php expression, regular expression data, payment function, php help function, simple array project, php function payment, parsing php, php parsing, parsing project, parsing data, paypal php function, regular expression php, receive function, php regular expression, 50g, paypal payment php function

Về Bên Thuê:
( 0 nhận xét ) Novotroickoye, Ukraine

Mã Dự Án: #1880704