Sorry for the delay in responding, my week is a bit off from everyone else.
You're right, I did a real poor job of explaining this. Let me try again.
I'm trying to pull multiple matches after an initial match, for instance:
onevalue: "asdf" "1234"
twovalue: "9999" "8888"
"7777" "6666"
threevalue: "4444" 3333"
"1111"
with something like this:
(?:threevalue: )(?<mymatch>["]{1,1}[^"]+["]{1,1}[\s| ]+)+
I want to do a non capturing match (?:threevalue: ) and then do a group
capture after that of all values inside the "'s. Right now, I just get the
final one "1111". If I remove my initial match in the expression I match all
quoted values in the entire document and can retrieve them with a group
object.
I'm aware I can fix this by doing a substring and then a regex on that, but
I'm on a PPC and trying to save every bit of processor. I have to do this 16
or so times inside a loop that fires sometimes 1000 times or more. I'd
really like to do it all in Regex to save on all the substring calls, but I
don't even know if it's possible.
Thanks for the feedback.
"Ken Arway" <ka****@jaguar.att.net> wrote in message
news:uj*************@TK2MSFTNGP15.phx.gbl...
Chance Hopkins wrote:
Is it possible to target this match after an initial match (so that I
only match ""'s after the text "mytext: "), without splitting the string
first?
I think that's different from what I understood from your first post. To
clarify, please provide a test input string and the output you want.
--
Take care,
Ken
(to reply directly, remove the cool car. <sigh>)