Hi
I am trying to find a generic method to extract information from strings like:
"id:36 sub:001 dlvrd:001 submit date:0704270919 done date:0704270919 stat
ELIVRD err:000"
I would like to be able to extract the values of particular items by defining a Regex style
pattern. I am a bit of a regex newbie and I am not sure how to go about this. I had thought about using StringTokenizer but some of the value names have spaces in them and unfortunately I have no control over the format of these strings.
Can you use regex expressions to 'name' specific variable sections of the patterns so that they can be extracted by a Matcher?
Any help will be very welcome, thanks
Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams