0

I have the following test to parse via regex

{id=ID, catalogId=A2A01, marketingCode=CODE, productId=PRODUCT_ID, sku=SKUINFO}

I am using the following Regex pattern

(?<=marketingCode=)(.*)(?=, )

However is matching

CODE, productId=PRODUCT_ID

How do I make it just match

CODE
John Hamlett IV
  • 495
  • 11
  • 23

0 Answers0