Hi! Looking for some regex help again...
I have an analytics tool which allows me to take Regex and pull out specific parts of a key. In my example below, I'm looking to pull out the values which are in the third slot of the delimiter ":" and I can use the $ to reference a value to return.
Example Keys
manifest_acquisition_summe
rsale
gglp:paidsearch_nb_b2b:thi
sisthekeyw
ord:thisis
theoccassi
on
gglp:paidsearch_nb:paid keyword:rewardsclub
gglp:paidsearch_nb:gifts:s
ale
gglp:paidsearch_things:key
word_phras
e
Expected Result
(no match expected)
thisisthekeyword
paid keyword
gifts
keyword_phrase
What I've tried:
This failed -->
^gglp:([^:]+)$
This failed -->
^gglp.*:([^:]+)$
and then I referenced $1 to return what was matched
Results Returned with what I've tried:
None -- all tries have failed. :( Help please!
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.