|
|
|
@ -381,6 +381,7 @@ Unavailable") }}
|
|
|
|
|
<li>Extracts text in the final output (line by line) after other filters using regular expressions;
|
|
|
|
|
<ul>
|
|
|
|
|
<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>Use <code>//(?aiLmsux))</code> type flags (more <a href="https://docs.python.org/3/library/re.html#index-15">information here</a>)<br></li>
|
|
|
|
|
<li>Keyword example ‐ example <code>Out of stock</code></li>
|
|
|
|
|
<li>Use groups to extract just that text ‐ example <code>/reports.+?(\d+)/i</code> returns a list of years only</li>
|
|
|
|
|