Hello, I'm sorry if someone asked this before. But when I search the 4rum with keyword "?=", it turn to nothing.
I'm RegExp newbie, I'm using ASP VBScript and I'm wonder how they use the (?=) in the pattern
In detail, I have the string :
HH=1:2:3 / BQ=X:Y:Z / G / 3=dd:aa ---->> I wanna get out : HH , BQ , G , 3
or
A=1:R:7 / CV=G / TT ----->> I wanna get : A , CV , TT
(The spaces is only for easier viewing, the string contains no space indeed) Please notice the separator : (/) (=) and (:)
with the type of strings beyond, I used the pattern :
( / ( \ w + ) ( ? = [ / = ] ) ) (Plz ignore all the space character)
This worked good, but it return the slash preceding the result ( like / HH )
I wanna remove the slash then I changed it to :
( ( ? = \ / ) ( \ w + ) ( ? = [ / = ] ) )
The result was 4 zero length string . Can you tell me what happened and the solution ?
-------
BTW , could you show me how to search for "formula keyword" like "?="
I searched Google and RegexAdvice with the same keyword but no result !