Apr 7, 2009, 1:06 PM
Post #2 of 4
Re: [ghat] Prase line with space and double quotes
[In reply to]
What have you tried so far? Can you pull out the first one at least (NameA)? Although there are a couple of ways to do it, I would suggest taking a look at lazy modifiers (or use a work around like [^"]). You'll also have to be careful not to match the space between the second and third quotes. Or, I guess you could match it and then get rid of it by checking which of your captured strings only have a space, but that seems less elegant :)
By the way, I'm a beginner so don't listen too much to what I say :)
The more you teach me, the more I learn. The more I learn, the more I teach.