
PGScooter
stranger
Apr 7, 2009, 1:06 PM
Post #2 of 4
(1572 views)
|
|
Re: [ghat] Prase line with space and double quotes
[In reply to]
|
Can't Post
|
|
Hey ghat! 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 :) good luck! The more you teach me, the more I learn. The more I learn, the more I teach.
|