2019-01-11, 20:27
Hi everyone,
Is there a smart way to split a list like that with Regex's?
I hoped that combination would do. But the third regex is never triggered, therefore the last part is not extracted.
Thanks.
Is there a smart way to split a list like that with Regex's?
xml:<dt>Genre</dt><dd>Fantasy | Literature | Drama</dd>
I hoped that combination would do. But the third regex is never triggered, therefore the last part is not extracted.
xml:<RegExp input="$$1" output="\1" dest="11">
<expression><dt>Genre</dt>.*?<dd>(.*?)</dd></expression>
</RegExp>
<RegExp input="$$11" output="<genre>\1</genre>" dest="5+">
<expression repeat="yes" trim="1">(.*?) \| </expression>
</RegExp>
<RegExp input="$$11" output="<genre>\1</genre>" dest="5+">
<expression>(.*?)</expression>
</RegExp>
Thanks.