M
Martin Gill
Hi,
I'm trying to write a regular expression which parses the following string:
blah blah items 1234, 4567, 4345, and 3245 blah blah blah
I want to be able to pick up the numbers following the "items" label.
I thought the following might work, but it doesn't seem to
/ORs (\b(\d+)\b)+/
i want it to match:
1234
4567
4345
3245
Any help is greatly appreciated.
I'm trying to write a regular expression which parses the following string:
blah blah items 1234, 4567, 4345, and 3245 blah blah blah
I want to be able to pick up the numbers following the "items" label.
I thought the following might work, but it doesn't seem to
/ORs (\b(\d+)\b)+/
i want it to match:
1234
4567
4345
3245
Any help is greatly appreciated.