|
|
@ -378,7 +378,7 @@ Unavailable") }}
|
|
|
|
{{ render_field(form.extract_text, rows=5, placeholder="\d+ online") }}
|
|
|
|
{{ render_field(form.extract_text, rows=5, placeholder="\d+ online") }}
|
|
|
|
<span class="pure-form-message-inline">
|
|
|
|
<span class="pure-form-message-inline">
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<li>Extracts text in the final output (line by line) after other filters using regular expressions;
|
|
|
|
<li>Extracts text in the final output (line by line) after other filters using regular expressions or string match;
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<li>Regular expression ‐ example <code>/reports.+?2022/i</code></li>
|
|
|
|
<li>Regular expression ‐ example <code>/reports.+?2022/i</code></li>
|
|
|
|
<li>Don't forget to consider the white-space at the start of a line <code>/.+?reports.+?2022/i</code></li>
|
|
|
|
<li>Don't forget to consider the white-space at the start of a line <code>/.+?reports.+?2022/i</code></li>
|
|
|
@ -387,7 +387,7 @@ Unavailable") }}
|
|
|
|
<li>Use groups to extract just that text ‐ example <code>/reports.+?(\d+)/i</code> returns a list of years only</li>
|
|
|
|
<li>Use groups to extract just that text ‐ example <code>/reports.+?(\d+)/i</code> returns a list of years only</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li>One line per regular-expression/ string match</li>
|
|
|
|
<li>One line per regular-expression/string match</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|