I have a text line and I need capture the value "Keyword" key.
In this sample the value is "ConquestImageDate".
With my code below I can capture the value as ConquestImageDate".
But it has a '"' on the end.
I know I can use a replace to get rid off it.
But, I´d like to do it in the regex.
let line =
'(0008,0023) VERS="CQ" VR="DA" VM="1" Keyword="ConquestImageDate" Name="Conquest Image Date"';
const re = /Keyword=\"\s*(\S+)/;
m = re.exec(line);
console.log(m[1]);