Regex to Grab Key:Value
ekalby
Posts: 1 ✭
Not a question but rather something useful. I have data that is in key:value format, using key=value in the extract format did not work. I was able to extract every key and value with this one regex extract.
(?<_NAME_0>.*):\s(?<_VALUE_0>.*)
0
Best Answer
-
Upgoat! Great find, and thanks for sharing. That trick comes in handy so often. Also, dont forget to hit the global flag on the regex to get more than one matching pair.
0
Answers
-
Upgoat! Great find, and thanks for sharing. That trick comes in handy so often. Also, dont forget to hit the global flag on the regex to get more than one matching pair.
0