{"id":141480,"date":"2023-01-25T14:18:13","date_gmt":"2023-01-25T05:18:13","guid":{"rendered":"https:\/\/support.questetra.com\/?p=141480"},"modified":"2023-01-30T15:06:27","modified_gmt":"2023-01-30T06:06:27","slug":"multiline-string-filter-by-regexp-2023","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/multiline-string-filter-by-regexp-2023\/","title":{"rendered":"Multiline String, Filter by RegExp"},"content":{"rendered":"\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#ffccff;margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><strong>Multiline String, Filter by RegExp<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-background has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ffccff;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/multiline-string-filter-by-regexp-2023\/\">\u8907\u6570\u884c\u6587\u5b57\u5217, \u6b63\u898f\u8868\u73fe\u30d5\u30a3\u30eb\u30bf<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#fff0ff;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--60);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--40)\">Narrows down to just the matched lines from the multiline text. A regular expression (RegExp) can be specified as the match condition. Each line is determined to match a regular expression. Also stores the filtered-out lines (removed lines).<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADkElEQVRYR82XW0gUURjHf6NmrmWW\nlV0pxe1mdJUiootJ9djtqaJ9sCV3tQgFqbfqoYcuUvlQ7UIWXbA3IyiIILUo8MGsKPIhwYV0i7ba\n0tzUtIkz6+js7OzurCV2HmfO+f9\/853vfOcbiVEekml\/N6nI7EJiEzIrkMgCJg2s9yPjQeIFMnVI\n1OAgYEY7NsA1ptPLUcAJpJgRBboBF8mcppCP0dZEB3DhRKICGGfSWD+tC5lynLgirY8M4OYSUDxM\nY\/2yyzgoMdIyBnBRjcSef2QelJG5jZO9es1wAIMvz52Uy7a521iduZrstGxmpM4gNSk1RMv304ev\n20fzt2bqvfXUtNbQ+aszZiRCAYJ7flldZZtno2xJGUsnLyVBSqCjt4P2rna8AS8fAh8GxROlRHIm\n5DA1ZaoCZ0myEOgL8OD9A86+OkvDp4YhEJlibU4MAQSzvUVNuCPLjnAs7xh9v\/u447mjCL31vzW1\nKzuzdlK6pJS109bi+eHBVmvTQnSRjFU9HUMAbs4DparDlQ1XKFxQiKvZxcGnB00Z6yc17WrCmm5V\n1t98d1P7+gIOysSDIIAoMvBFe84FgH2hnc\/dn6l8U0nl60qjPTUEEzlzPO84O7J20NPfYwQg6sRk\nUayCAC72IRGC6F7v5sCiA0gDjEJIJJmn00NrZ6sC89z3nPTkdCVHLIkW5qfPZ874OUwcOxGRF2J8\n7\/1OydMSqluqQ2FlbDi5pUagCtivnbE7ZzcX110kY2zGsMKvLmr0NVJwr8AoeldxYFcj0ITECr1T\ncW4xJ\/JOkGnJjBtCRkaYH352OPQUqEoyL3CyUo3AV83FEmKWPzOfc2vOsXzK8sHtiEWjnhz7Y3u0\nvPHjIEMFkKOJpo1Jo2pjFeJ4JSUkRfX39\/g59fIUZ16dicUJDiRTAKrSyVUnObT4kJJ4RqOlo4Xy\nhnLueu7GNhczNAARt0CvtD1rOxVrKrBOsA6+6pf7edj2kKInRbR1tZkzB80WuDBMwkhKW2Zv4Xr+\ndaXsilHnrVMyPa6hS8KwYxhNrGBmATc23WDWuFnKtEftj9h8f3Nc\/kDIMQwrRCMOoCtEYaV4hAF0\npVi46S6jEQbQXUbCTXcdjyBAhOtYOOoakkgQf5WEERsS1c1EMyoq49bZWwfbMtEl1XprzZyCsOb0\nP2xK44iEmU8emBNnW64qj+qPiQoxqr9m2hiP2s9pHBs9nKl\/AKYYaTCS9AqCAAAAAElFTkSuQmCC\n\" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-6-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">StrConfA1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A1: Set Multiline Text<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">StrConfB1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">B1: Set Matching Condition (REGEXP) for each line<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">BoolConfB2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">B2: Case Sensitive or Case should be Ignored<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">SelectConfC1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: Select STRING that stores Narrowed Text (update)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">SelectConfC2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: Select STRING that stores Removed Lines (update)<\/dd>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS Script (engine type: 2)\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strInput         = configs.get      ( &quot;StrConfA1&quot; );    \/\/\/ REQUIRED\n  if( strInput       === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A1: String} is empty \\n&quot; );\n  }\nconst strRegexp        = configs.get      ( &quot;StrConfB1&quot; );    \/\/\/ REQUIRED\n  if( strRegexp      === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {B1: String} is empty \\n&quot; );\n  }\nconst boolIgnoreCase   = configs.getObject( &quot;BoolConfB2&quot; );   \/\/\/ TOGGLE\n  \/\/ https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360024574471-R2300 &quot;Boolean object&quot;\nconst strPocketOutput  = configs.getObject( &quot;SelectConfC1&quot; ); \/\/ NotRequired\nconst strPocketRemoved = configs.getObject( &quot;SelectConfC2&quot; ); \/\/ NotRequired\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Retrieved via Expression Language in Config Retrieving)\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\nconst arrInput         = strInput.split( &#39;\\n&#39; );\nconst regConstructor   = boolIgnoreCase ?\n                         new RegExp( strRegexp, &#39;i&#39; ) : new RegExp( strRegexp );\n\/\/ engine.log( &quot; AutomatedTask RegExp: &quot; + regConstructor.toString() );\n\nlet   arrOutput    = [];\nlet   arrRemoved   = [];\n\nfor ( let i = 0; i &lt; arrInput.length; i++ ) {\n  if ( regConstructor.test( arrInput[i] ) ){\n    arrOutput.push ( arrInput[i] );\n  } else {\n    arrRemoved.push ( arrInput[i] );\n  }\n}\n\nlet strOutput  = arrOutput?.join( &#39;\\n&#39; ) ?? &quot;&quot;;\nlet strRemoved = arrRemoved?.join( &#39;\\n&#39; ) ?? &quot;&quot;;\n\/\/ https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators\/Optional_chaining\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nif ( strPocketOutput !== null ) {\n  engine.setData ( strPocketOutput,  strOutput );\n}\nif ( strPocketRemoved !== null ) {\n  engine.setData ( strPocketRemoved, strRemoved );\n}\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n\n\/*\nNotes:\n- When a process reaches this automated step, &quot;multi-line text&quot; is automatically processed.\n    - Each line of multiline text is tested with RegExp, and only lines matching the condition are output.\n    - Note that it is possible to store not only filtered-down lines, but also filtered-out lines.\n- If the amount of calculation is too large, the process will be terminated in the middle.\n    - A large number of Lines or complex RegExp that requires more than 30 secs will result in a termination.\n- No line feed code is inserted at the end of the output string.\n    - &quot;Narrowed Text&quot; (filtered down)\n    - &quot;Removed Lines&quot; (filtered out)\n- Various human steps can be automated (unmanned).\n     - Filter by date\n     - Remove invalid email addresses\n     - Remove invalid zip codes\n     - Extract URLs starting with &quot;http:\/\/&quot;\n     - Extract only jp domain URLs\n\nAppendix-en:\n- Basic regular expressions: Groups\n    - `(apple|orange)`\n        - Either &quot;apple&quot; or &quot;orange&quot;\n- Basic regular expressions: A character class\n    - `[xyz]`\n        - Any one of the enclosed characters, &quot;x&quot; &quot;y&quot; or &quot;z&quot;\n    - `[a-c]`\n        - Any one in the range &quot;a&quot; to &quot;c&quot;\n    - `[^xyz]`\n        - Any one that is neither &quot;x&quot; nor &quot;y&quot; nor &quot;z&quot;\n    - `\\d`\n        - Any digit \/ `[0-9]`\n    - `\\w`\n        - Any alphanumeric character \/ `[A-Za-z0-9_]`\n    - `\\t`\n        - A horizontal tab\n    - `.`\n        - Any single character except line terminators\n- Basic regular expressions: Assertions\n    - `^`\n        - Beginning\n    - `$`\n        - End\n    - `\\b`\n        - A word boundary\n    - `\\B`\n        - A non-word boundary\n- Basic regular expressions: Quantifiers\n    - `x*`\n        - The preceding item &quot;x&quot; 0 or more times\n    - `x+`\n        - The preceding item &quot;x&quot; 1 or more times\n    - `x?`\n        - The preceding item &quot;x&quot; 0 or 1 times\n    - `x{n}`\n        - &quot;n&quot; occurrences of the preceding item &quot;x&quot;\n    - `x{n,m}`\n        - at least &quot;n&quot; and at most &quot;m&quot; occurrences\n- RegExp Examples\n    - Japanese postal code in the middle of the line\n        - `(\\d{3}-\\d{4})|(\\d{7})`\n        - `([0-9]{3}-[0-9]{4})|([0-9]{7})`\n    - Comma + Gmail address\n        - `,[a-zA-Z0-9\\.\\+]+@(gmail\\.com|googlemail\\.com)`\n        - `,[a-zA-Z0-9.+]+@(gmail\\.com|googlemail\\.com)`\n    - Secure HTTP in the middle of the line\n        - `https:\\\/\\\/`\n        - `https:\/\/`\n    - &quot;.com\/&quot; or &quot;.com&quot; at the end of the line\n        - `\\.com\/?$`\n    - Date at the begging of the line\uff082022-12-15 to 2023-01-06\uff09\n        - `(^2022-12-1[5-9])|(^2022-12-[2-3])|(^2023-01-0[1-6])`\n\nNotes-ja:\n- \u6848\u4ef6\u304c\u3053\u306e\u81ea\u52d5\u5de5\u7a0b\u306b\u5230\u9054\u3057\u305f\u969b\u3001\u300c\u8907\u6570\u884c\u30c6\u30ad\u30b9\u30c8\u300d\u304c\u81ea\u52d5\u7684\u306b\u52a0\u5de5\u3055\u307e\u3059\u3002\n    - \u8907\u6570\u884c\u30c6\u30ad\u30b9\u30c8\u306e\u5404\u884c\u304c\u305d\u308c\u305e\u308c\u6307\u5b9a\u3057\u305f\u6b63\u898f\u8868\u73fe\u3067\u30c6\u30b9\u30c8\u3055\u308c\u3001\u6761\u4ef6\u306b\u30de\u30c3\u30c1\u3057\u305f\u884c\u3060\u3051\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002\n    - \u306a\u304a\u3001\u30d5\u30a3\u30eb\u30bf\u62bd\u51fa\u3055\u308c\u305f\u884c\u3060\u3051\u3067\u306a\u304f\u3001\u30d5\u30a3\u30eb\u30bf\u9664\u53bb\u3055\u308c\u305f\u884c\u3092\u683c\u7d0d\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\n- \u8a08\u7b97\u91cf\u304c\u591a\u3059\u304e\u308b\u5834\u5408\u3001\u9014\u4e2d\u7d42\u4e86\u3057\u307e\u3059\u3002\n    - \u884c\u6570\u304c\u591a\u3044\u30fb\u6b63\u898f\u8868\u73fe\u304c\u6975\u3081\u3066\u8907\u96d1\u306a\u3069\u300130\u79d2\u3092\u8d85\u3048\u308b\u3088\u3046\u306a\u51e6\u7406\u306f\u9014\u4e2d\u3067\u7d42\u4e86\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\n- \u51fa\u529b\u6587\u5b57\u5217\u306e\u672b\u5c3e\u306b\u6539\u884c\u30b3\u30fc\u30c9\u306f\u633f\u5165\u3055\u308c\u307e\u305b\u3093\u3002\n    - &quot;\u7d5e\u308a\u8fbc\u307e\u308c\u305f\u30c6\u30ad\u30b9\u30c8&quot;\n    - &quot;\u9664\u53bb\u3055\u308c\u305f\u884c&quot;\n- \u69d8\u3005\u306a\u30d2\u30e5\u30fc\u30de\u30f3\u5de5\u7a0b\u3092\u81ea\u52d5\u5316\uff08\u7121\u4eba\u5316\uff09\u3067\u304d\u307e\u3059\u3002\n    - \u65e5\u4ed8\u3092\u7d5e\u308a\u8fbc\u3080\n    - \u4e0d\u6b63\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u9664\u53bb\u3059\u308b\n    - \u4e0d\u6b63\u306a\u90f5\u4fbf\u756a\u53f7\u3092\u9664\u53bb\u3059\u308b\n    - &quot;http:\/\/&quot; \u59cb\u307e\u308a\u306eURL\u3092\u62bd\u51fa\u3059\u308b\n    - jp\u30c9\u30e1\u30a4\u30f3\u306eURL\u3060\u3051\u3092\u62bd\u51fa\u3059\u308b\n\nAppendix-ja:\n- \u57fa\u672c\u7684\u306a\u6b63\u898f\u8868\u73fe\uff08\u30b0\u30eb\u30fc\u30d7\uff0fGroups\uff09\n    - `(apple|orange)`\n        - &quot;apple&quot; \u304b &quot;orange&quot; \u306e\u3044\u305a\u308c\u304b\u3000\uff0f\u3000Either &quot;apple&quot; or &quot;orange&quot;\n- \u57fa\u672c\u7684\u306a\u6b63\u898f\u8868\u73fe\uff08\u6587\u5b57\u30af\u30e9\u30b9\uff0fA character class\uff09\n    - `[xyz]`\n        - &quot;x&quot; \u304b &quot;y&quot; \u304b &quot;z&quot; \u306e \u4e00\u6587\u5b57\u3000\uff0f\u3000Any one of the enclosed characters, &quot;x&quot; &quot;y&quot; or &quot;z&quot;\n    - `[a-c]`\n        - &quot;a&quot; \u304b\u3089 &quot;c&quot; \u307e\u3067\u306e\u3044\u305a\u308c\u304b\u4e00\u6587\u5b57\u3000\uff0f\u3000Any one in the range &quot;a&quot; to &quot;c&quot;\n    - `[^xyz]`\n        - &quot;x&quot; \u3067\u3082 &quot;y&quot; \u3067\u3082 &quot;z&quot; \u3067\u3082\u306a\u3044\u4e00\u6587\u5b57\u3000\uff0f\u3000Any one that is neither &quot;x&quot; nor &quot;y&quot; nor &quot;z&quot;\n    - `\\d`\n        - \u6570\u5b57\u4e00\u6587\u5b57\u3000\uff0f\u3000Any digit\u3000\uff0f\u3000`[0-9]`\n    - `\\w`\n        - \u534a\u89d2\u82f1\u6570\u5b57\u4e00\u6587\u5b57\u3000\uff0f\u3000Any alphanumeric character\u3000\uff0f\u3000`[A-Za-z0-9_]`\n    - `\\t`\n        - \u6c34\u5e73\u30bf\u30d6\u3000\uff0f\u3000A horizontal tab\n    - `.`\n        - \u6539\u884c\u6587\u5b57\u3092\u9664\u304f\u3042\u3089\u3086\u308b\u4e00\u6587\u5b57\u3000\uff0f\u3000Any single character except line terminators\n- \u57fa\u672c\u7684\u306a\u6b63\u898f\u8868\u73fe\uff08\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u8a00\u660e\uff0fAssertions\uff09\n    - `^`\n        - \u5148\u982d\u3000\uff0f\u3000Beginning\n    - `$`\n        - \u672b\u5c3e\u3000\uff0f\u3000End\n    - `\\b`\n        - \u533a\u5207\u308a\u3000\uff0f\u3000A word boundary\n    - `\\B`\n        - \u533a\u5207\u308a\u4ee5\u5916\u3000\uff0f\u3000A non-word boundary\n- \u57fa\u672c\u7684\u306a\u6b63\u898f\u8868\u73fe\uff08\u6570\u91cf\u8a5e\uff0fQuantifiers\uff09\n    - `x*`\n        - \u76f4\u524d\u30a2\u30a4\u30c6\u30e0 &quot;x&quot; \u306e0\u56de\u4ee5\u4e0a\u306e\u7e70\u8fd4\u3000\uff0f\u3000The preceding item &quot;x&quot; 0 or more times\n    - `x+`\n        - \u76f4\u524d\u30a2\u30a4\u30c6\u30e0 &quot;x&quot; \u306e1\u56de\u4ee5\u4e0a\u306e\u7e70\u8fd4\u3000\uff0f\u3000The preceding item &quot;x&quot; 1 or more times\n    - `x?`\n        - \u76f4\u524d\u30a2\u30a4\u30c6\u30e0 &quot;x&quot; \u306e0\u56de\u304b1\u56de\u306e\u51fa\u73fe\u3000\uff0f\u3000The preceding item &quot;x&quot; 0 or 1 times\n    - `x{n}`\n        - \u76f4\u524d\u30a2\u30a4\u30c6\u30e0 &quot;x&quot; \u306en\u56de\u306e\u51fa\u73fe\u3000\uff0f\u3000&quot;n&quot; occurrences of the preceding item &quot;x&quot;\n    - `x{n,m}`\n        - \u76f4\u524d\u30a2\u30a4\u30c6\u30e0 &quot;x&quot; \u304cn\u304b\u3089m\u56de\u51fa\u73fe\u3000\uff0f\u3000at least &quot;n&quot; and at most &quot;m&quot; occurrences\n- \u6b63\u898f\u8868\u73fe \u8a2d\u5b9a\u4f8b Example\n    - \u9014\u4e2d\u306e\u65e5\u672c\u306e\u90f5\u4fbf\u756a\u53f7\n        - `(\\d{3}-\\d{4})|(\\d{7})`\n        - `([0-9]{3}-[0-9]{4})|([0-9]{7})`\n    - \u30ab\u30f3\u30de\uff0bGmail\u30a2\u30c9\u30ec\u30b9\n        - `,[a-zA-Z0-9\\.\\+]+@(gmail\\.com|googlemail\\.com)`\n        - `,[a-zA-Z0-9.+]+@(gmail\\.com|googlemail\\.com)`\n    - \u9014\u4e2d\u306e\u30bb\u30ad\u30e5\u30a2HTTP\n        - `https:\\\/\\\/`\n        - `https:\/\/`\n    - \u884c\u672b\u306e &quot;.com\/&quot; \u3082\u3057\u304f\u306f &quot;.com&quot;\n        - `\\.com\/?$`\n    - \u884c\u982d\u306e\u65e5\u4ed8\uff082022-12-15 to 2023-01-06\uff09\n        - `(^2022-12-1[5-9])|(^2022-12-[2-3])|(^2023-01-0[1-6])`\n\nTest Data for Debug:\ndate,email,zipcode,url\n2022-12-14,example@gmail.com,604-0835,https:\/\/questetra.com\/\n2022-12-14,suzuki@example.com,604-0835,https:\/\/QUESTETRA.COM\/\n2022-12-15,sato@example.com,604-0835,https:\/\/questetra.com\/\n2022-12-18,example@gmail.com,604-0835,https:\/\/support.questetra.com\/\n2023-01-06,example@googlemail.com,604-0835,HTTP:\/\/QUESTETRA.COM\/\n2023-01-06,suzuki@example.com,6040-835,https:\/\/questetra.com\/\n2023-01-06,SATO@example.com,6040835,https:\/\/questetra.com\/\n2023-01-07,EXAMPLE@GMAIL.COM,604-0835,http:\/\/support.questetra.com\/\n*\/\n\n<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Download<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/file\/d\/190s8QqroN_Sm7t9M_RA7cDyIXMjH1rHv\/view?usp=drivesdk\" target=\"_blank\">multiline-string-filter-by-regexp-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-01-24 (C) Questetra, Inc. (MIT License)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"has-small-font-size\" style=\"text-align: right;\"><div style=\"display: inline-block; background: #FBE7DD; text-align: center;\">\n<span class=\"material-icons\">warning<\/span> Freely modifiable JavaScript (ECMAScript) code. No warranty of any kind.<br>\n(Installing <em><strong>Addon Auto-Steps<\/strong><\/em> are available only on the <em><strong><span style=\"color: #1970B9\">Professional<\/span><\/strong><\/em> edition.)\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Notes<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When a process reaches this automated step, the multi-line text is automatically processed.\n<ul class=\"wp-block-list\">\n<li>Each line of multiline text is tested with RegExp, and only lines matching the condition are output.<\/li>\n\n\n\n<li>Note that it is possible to store not only filtered-down lines, but also filtered-out lines.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If the amount of calculation is too large, the process will be terminated in the middle.\n<ul class=\"wp-block-list\">\n<li>A large number of Lines or complex RegExp that requires more than 30 secs will result in a termination.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>No line feed code is inserted at the end of the output string.\n<ul class=\"wp-block-list\">\n<li>&#8220;Narrowed Text&#8221; (filtered down)<\/li>\n\n\n\n<li>&#8220;Removed Lines&#8221; (filtered out)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Various human steps can be automated (unmanned).\n<ul class=\"wp-block-list\">\n<li>Filter by date<\/li>\n\n\n\n<li>Remove invalid email addresses<\/li>\n\n\n\n<li>Remove invalid zip codes<\/li>\n\n\n\n<li>Extract URLs starting with &#8220;<code>http:\/\/<\/code>&#8220;<\/li>\n\n\n\n<li>Extract only jp domain URLs<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Capture<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"141472\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/climber-webinvoice-file-upload\/attachment\/multiline-string-filter-by-regexp-2023-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"multiline-string-filter-by-regexp-2023-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Narrows down to just the matched lines from the multiline text. A regular expression (RegExp) can be specified as the match condition. Each line is determined to match a regular expression. Also stores the filtered-out lines (removed lines).\" class=\"wp-image-141472\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border is-style-rounded is-style-rounded--1\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"630\" data-attachment-id=\"141478\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/climber-webinvoice-file-upload\/attachment\/multiline-string-filter-by-regexp-2023-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en.png?fit=1120%2C1164&amp;ssl=1\" data-orig-size=\"1120,1164\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"multiline-string-filter-by-regexp-2023-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en.png?fit=606%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en-606x630.png?resize=606%2C630&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-141478\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en.png?resize=606%2C630&amp;ssl=1 606w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en.png?resize=303%2C315&amp;ssl=1 303w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en.png?resize=768%2C798&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-config-en.png?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Appendix<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Basic regular expressions: Groups\n<ul class=\"wp-block-list\">\n<li><code>(apple|orange)<\/code>\n<ul class=\"wp-block-list\">\n<li>Either &#8220;apple&#8221; or &#8220;orange&#8221;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Basic regular expressions: A character class\n<ul class=\"wp-block-list\">\n<li><code>[xyz]<\/code>\n<ul class=\"wp-block-list\">\n<li>Any one of the enclosed characters, &#8220;x&#8221; &#8220;y&#8221; or &#8220;z&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>[a-c]<\/code>\n<ul class=\"wp-block-list\">\n<li>Any one in the range &#8220;a&#8221; to &#8220;c&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>[^xyz]<\/code>\n<ul class=\"wp-block-list\">\n<li>Any one that is neither &#8220;x&#8221; nor &#8220;y&#8221; nor &#8220;z&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>\\d<\/code>\n<ul class=\"wp-block-list\">\n<li>Any digit \/ <code>[0-9]<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>\\w<\/code>\n<ul class=\"wp-block-list\">\n<li>Any alphanumeric character \/ <code>[A-Za-z0-9_]<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>\\t<\/code>\n<ul class=\"wp-block-list\">\n<li>A horizontal tab<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>.<\/code>\n<ul class=\"wp-block-list\">\n<li>Any single character except line terminators<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Basic regular expressions: Assertions\n<ul class=\"wp-block-list\">\n<li><code>^<\/code>\n<ul class=\"wp-block-list\">\n<li>Beginning<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>$<\/code>\n<ul class=\"wp-block-list\">\n<li>End<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>\\b<\/code>\n<ul class=\"wp-block-list\">\n<li>A word boundary<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>\\B<\/code>\n<ul class=\"wp-block-list\">\n<li>A non-word boundary<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Basic regular expressions: Quantifiers\n<ul class=\"wp-block-list\">\n<li><code>x*<\/code>\n<ul class=\"wp-block-list\">\n<li>The preceding item &#8220;x&#8221; 0 or more times<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>x+<\/code>\n<ul class=\"wp-block-list\">\n<li>The preceding item &#8220;x&#8221; 1 or more times<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>x?<\/code>\n<ul class=\"wp-block-list\">\n<li>The preceding item &#8220;x&#8221; 0 or 1 times<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>x{n}<\/code>\n<ul class=\"wp-block-list\">\n<li>&#8220;n&#8221; occurrences of the preceding item &#8220;x&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>x{n,m}<\/code>\n<ul class=\"wp-block-list\">\n<li>at least &#8220;n&#8221; and at most &#8220;m&#8221; occurrences<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>RegExp Examples\n<ul class=\"wp-block-list\">\n<li>Japanese postal code in the middle of the line\n<ul class=\"wp-block-list\">\n<li><code>(\\d{3}-\\d{4})|(\\d{7})<\/code><\/li>\n\n\n\n<li><code>([0-9]{3}-[0-9]{4})|([0-9]{7})<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Comma + Gmail address\n<ul class=\"wp-block-list\">\n<li><code>,[a-zA-Z0-9\\.\\+]+@(gmail\\.com|googlemail\\.com)<\/code><\/li>\n\n\n\n<li><code>,[a-zA-Z0-9.+]+@(gmail\\.com|googlemail\\.com)<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Secure HTTP in the middle of the line\n<ul class=\"wp-block-list\">\n<li><code>https:\\\/\\\/<\/code><\/li>\n\n\n\n<li><code>https:\/\/<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&#8220;.com\/&#8221; or &#8220;.com&#8221; at the end of the line\n<ul class=\"wp-block-list\">\n<li><code>\\.com\/?$<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Date at the begging of the line\uff082022-12-15 to 2023-01-06\uff09\n<ul class=\"wp-block-list\">\n<li><code>(^2022-12-1[5-9])|(^2022-12-[2-3])|(^2023-01-0[1-6])<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">See Also<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"EflQSeQ8nA\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/multiline-string-filter-by-keywords-2023\/\">Multiline String, Filter by Keywords<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Multiline String, Filter by Keywords&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/multiline-string-filter-by-keywords-2023\/embed\/#?secret=hXSAxNi9bd#?secret=EflQSeQ8nA\" data-secret=\"EflQSeQ8nA\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Narrows down to just the matched lines from the multiline text. A regular expression (RegExp) can be specified as the match condition. Each line is determined to match a regular expression. Also stores the filtered-out lines (removed lines).<\/p>\n","protected":false},"author":2,"featured_media":141472,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[381,2535],"class_list":["post-141480","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-regexp","tag-workflow-automation"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":0,"uagb_excerpt":"Narrows down to just the matched lines from the multiline text. A regular expression (RegExp) can be specified as the match condition. Each line is determined to match a regular expression. Also stores the filtered-out lines (removed lines).","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-ANW","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":82229,"url":"https:\/\/support.questetra.com\/en\/addons\/multiline-string-filter-by-text\/","url_meta":{"origin":141480,"position":0},"title":"Multiline String, Filter by Text","author":"IMAMURA, Genichi","date":"2019-11-22","format":false,"excerpt":"Filters multiple-line string with any search text. Only lines that contain the search text are output. If you want an OR search with multiple texts, specify them as a comma-separated list such as \"USA, U.S., United States\".","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Multiline String, Filter by Text","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":82236,"url":"https:\/\/support.questetra.com\/ja\/addons\/multiline-string-filter-by-text\/","url_meta":{"origin":141480,"position":1},"title":"\u8907\u6570\u884c\u6587\u5b57\u5217, \u30c6\u30ad\u30b9\u30c8\u30d5\u30a3\u30eb\u30bf","author":"IMAMURA, Genichi","date":"2019-11-22","format":false,"excerpt":"\u4efb\u610f\u306e\u691c\u7d22\u30c6\u30ad\u30b9\u30c8\u3067\u8907\u6570\u884c\u306e\u6587\u5b57\u5217\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u307e\u3059\u3002\u691c\u7d22\u30c6\u30ad\u30b9\u30c8\u304c\u542b\u307e\u308c\u308b\u884c\u306e\u307f\u51fa\u529b\u3055\u308c\u307e\u3059\u3002\u8907\u6570\u30c6\u30ad\u30b9\u30c8\u306b\u3088\u308b OR \u691c\u7d22\u3092\u3057\u305f\u3044\u5834\u5408\u306f \"USA,U.S.,United States\" \u306e\u3088\u3046\u306b\u30ab\u30f3\u30de\u533a\u5207\u308a\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"\u8907\u6570\u884c\u6587\u5b57\u5217, \u30c6\u30ad\u30b9\u30c8\u30d5\u30a3\u30eb\u30bf","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":109269,"url":"https:\/\/support.questetra.com\/en\/addons\/multiline-string-filter-by-text-2021\/","url_meta":{"origin":141480,"position":2},"title":"Multiline String, Filter by Text","author":"IMAMURA, Genichi","date":"2021-07-12","format":false,"excerpt":"Filters multiple-line string with any search text. Only lines that contain the search text are output. If you want an OR search with multiple texts, specify them as a comma-separated list such as \"USA, U.S., United States\"","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Multiline String, Filter by Text","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Multiline-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":141471,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-filter-by-regexp-2023\/","url_meta":{"origin":141480,"position":3},"title":"TSV String, Filter by RegExp","author":"IMAMURA, Genichi","date":"2023-01-25","format":false,"excerpt":"Narrows TSV text to column matched rows only. A regular expression (RegExp) can be specified as the match condition, and the column value is matched for each row. It is also possible to store excluded rows (filtered rows).","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"TSV String, Filter by RegExp","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-capture-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":87903,"url":"https:\/\/support.questetra.com\/en\/addons\/string-replace-all\/","url_meta":{"origin":141480,"position":4},"title":"String, Replace All","author":"IMAMURA, Genichi","date":"2021-02-17","format":false,"excerpt":"Replaces all the search strings by the replacement string. All matches are case sensitive. For example, it is possible to completely replace the string \"XXXX-XX-XX\" in the template text with \"2020-05-11\".","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"String: Replace All","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/String-Replace-All-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/String-Replace-All-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/String-Replace-All-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/String-Replace-All-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/String-Replace-All-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":141499,"url":"https:\/\/support.questetra.com\/ja\/addons\/multiline-string-filter-by-regexp-2023\/","url_meta":{"origin":141480,"position":5},"title":"\u8907\u6570\u884c\u6587\u5b57\u5217, \u6b63\u898f\u8868\u73fe\u30d5\u30a3\u30eb\u30bf","author":"IMAMURA, Genichi","date":"2023-01-25","format":false,"excerpt":"\u8907\u6570\u884c\u30c6\u30ad\u30b9\u30c8\u3092\u30de\u30c3\u30c1\u884c\u3060\u3051\u306b\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002\u30de\u30c3\u30c1\u6761\u4ef6\u306b\u306f\u6b63\u898f\u8868\u73fe\uff08RegExp\uff09\u304c\u6307\u5b9a\u3067\u304d\u3001\u5404\u884c\u3054\u3068\u306b\u6b63\u898f\u8868\u73fe\u30de\u30c3\u30c1\u304c\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002\u306a\u304a\u3001\u9664\u5916\u3055\u308c\u305f\u884c\uff08\u30d5\u30a3\u30eb\u30bf\u9664\u53bb\u884c\uff09\u3092\u683c\u7d0d\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"\u8907\u6570\u884c\u6587\u5b57\u5217, \u6b63\u898f\u8868\u73fe\u30d5\u30a3\u30eb\u30bf","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/multiline-string-filter-by-regexp-2023-capture-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/141480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=141480"}],"version-history":[{"count":4,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/141480\/revisions"}],"predecessor-version":[{"id":141803,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/141480\/revisions\/141803"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/141472"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=141480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=141480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=141480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}