<div dir="ltr"><div style="font-size:12.8px"><div>Hello community,</div><div><br></div><div>How could i run a fix, that would return a JSON file,and a  CSV, of the following:<br><br></div>Return for each marc record, the 001 value, and the values of first the whole tag, sorted by number (perhaps use of unique?) and secondly, the discrete values of a certain tag subfield.<br><br></div><span style="font-size:12.8px">that have certain data, but with a clever regex, that would not only match </span><br style="font-size:12.8px"><pre style="white-space:pre-wrap">Enron, but also the control characters that may also be in such a phrase, the like occurrences of this word, or phrase, in order to be able to correctly make the regex,<br><br></pre><pre style="white-space:pre-wrap"></pre><pre style="white-space:pre-wrap"> ## if there is a 590 AND it has the word "Enron"...
  13     if ($field and $field->as_string() =~ /Enron/i) {</pre><div>Best</div><span style="font-size:12.8px"></span></div>