{"id":141471,"date":"2023-01-25T13:56:59","date_gmt":"2023-01-25T04:56:59","guid":{"rendered":"https:\/\/support.questetra.com\/?p=141471"},"modified":"2023-01-30T14:55:32","modified_gmt":"2023-01-30T05:55:32","slug":"tsv-string-filter-by-regexp-2023","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-filter-by-regexp-2023\/","title":{"rendered":"TSV 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>TSV 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\/tsv-string-filter-by-regexp-2023\/\">TSV \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 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).<\/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 TSV 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;\">StrConfB0<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">B0: Set ID of COLUMN to be Matched (eg: &#8220;0&#8221;)<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 column value<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 strColMatchId    = configs.get      ( &quot;StrConfB0&quot; );    \/\/\/ REQUIRED\n  if( strColMatchId  === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {B0: 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 numColMatchId    = parseInt ( strColMatchId );\n\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].split( &#39;\\t&#39;, (numColMatchId + 1) )?.[ numColMatchId ] ?? &quot;&quot; ) ){\n    \/\/ https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators\/Optional_chaining\n    \/\/ #combining_with_the_nullish_coalescing_operator (Null \u5408\u4f53\u6f14\u7b97\u5b50\u3068\u5171\u306b\u4f7f\u3046)\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;TSV text&quot; is automatically processed.\n    - The column in each line of TSV text is tested, 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- Note that if the column ID is greater than the number of columns, an empty string is evaluated.\n    - This does not result in an error.\n    - If a regular expression is set to match the blank character, the test result will be true.\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\n        - `^(\\d{3}-\\d{4})|(\\d{7})$`\n        - `^([0-9]{3}-[0-9]{4})|([0-9]{7})$`\n    - Gmail address\n        - `^[a-zA-Z0-9\\.\\+]+@(gmail\\.com|googlemail\\.com)$`\n        - `^[a-zA-Z0-9.+]+@(gmail\\.com|googlemail\\.com)$`\n    - Secure HTTP\n        - `^https:\\\/\\\/`\n        - `^https:\/\/`\n    - &quot;.com\/&quot; or &quot;.com&quot; at the end of the line\n        - `\\.com\/?$`\n    - Date (2022-12-15 to 2023-01-06)\n        - `(^2022-12-1[5-9]$)|(^2022-12-[2-3][0-9]$)|(^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\u300cTSV \u30c6\u30ad\u30b9\u30c8\u300d\u304c\u81ea\u52d5\u7684\u306b\u52a0\u5de5\u3055\u307e\u3059\u3002\n    - TSV \u30c6\u30ad\u30b9\u30c8\u5404\u884c\u306e\u30ab\u30e9\u30e0\u304c\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- \u306a\u304a\u3001\u30de\u30c3\u30c1\u5224\u5b9a\u30ab\u30e9\u30e0\u306eID\u304c\u30ab\u30e9\u30e0\u6570\u3088\u308a\u5927\u304d\u3044\u5834\u5408\u3001\u7a7a\u6587\u5b57 &quot;&quot; \u304c\u8a55\u4fa1\u3055\u308c\u307e\u3059\u3002\n    - \u30a8\u30e9\u30fc\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002\n    - \u7a7a\u6587\u5b57\u306b\u30de\u30c3\u30c1\u3059\u308b\u6b63\u898f\u8868\u73fe\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u306f\u771f\u3068\u306a\u308a\u307e\u3059\u3002\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    - \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    - Gmail\u30a2\u30c9\u30ec\u30b9\n        - `^[a-zA-Z0-9\\.\\+]+@(gmail\\.com|googlemail\\.com)$`\n        - `^[a-zA-Z0-9.+]+@(gmail\\.com|googlemail\\.com)$`\n    - \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    - \u65e5\u4ed8\uff082022-12-15 to 2023-01-06\uff09\n        - `(^2022-12-1[5-9]$)|(^2022-12-[2-3][0-9]$)|(^2023-01-0[1-6]$)`\n\nTest Data for Debug:\ndate\temail\tzipcode\turl\n2022-12-14\texample@gmail.com\t604-0835\thttps:\/\/questetra.com\/\n2022-12-14\tsuzuki@example.com\t604-0835\thttps:\/\/QUESTETRA.COM\/\n2022-12-15\tsato@example.com\t604-0835\thttps:\/\/questetra.com\/\n2022-12-18\texample@gmail.com\t604-0835\thttps:\/\/support.questetra.com\/\n2023-01-06\texample@googlemail.com\t604-0835\tHTTP:\/\/QUESTETRA.COM\/\n2023-01-06\tsuzuki@example.com\t6040-835\thttps:\/\/questetra.com\/\n2023-01-06\tSATO@example.com\t6040835\thttps:\/\/questetra.com\/\n2023-01-07\tEXAMPLE@GMAIL.COM\t604-0835\thttp:\/\/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\/1xgw0QeCqymMK1ujIiWw5l_LREu_tFvBJ\/view?usp=drivesdk\" target=\"_blank\">tsv-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 TSV text is automatically processed.\n<ul class=\"wp-block-list\">\n<li>The column in each line of TSV text is tested, and only lines matching the condition are output.<\/li>\n\n\n\n<li>Note that it is possible to store not only filtered rows but also unfiltered rows.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If the 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 exceeds 30 seconds 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;<a href=\"http:\/\/&#038;#8221\" rel=\"nofollow\">http:\/\/&#038;#8221<\/a>;<\/li>\n\n\n\n<li>Extract only jp domain URLs<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Note that if the column ID is greater than the number of columns, an empty string is evaluated.\n<ul class=\"wp-block-list\">\n<li>This does not result in an error.<\/li>\n\n\n\n<li>If a regular expression is set to match the blank character, the test result will be true.<\/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\/tsv-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=\"141463\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/climber-webinvoice-file-upload\/attachment\/tsv-string-filter-by-regexp-2023-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-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=\"tsv-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\/tsv-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\/tsv-string-filter-by-regexp-2023-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Narrows down to just the column-matched lines from the TSV text. A regular expression (RegExp) can be specified as the match condition. Evaluates whether the column matches the regular expression. Also stores the filtered-out lines (removed lines).\" class=\"wp-image-141463\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-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\/tsv-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\/tsv-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\/tsv-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\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"557\" height=\"630\" data-attachment-id=\"141469\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/climber-webinvoice-file-upload\/attachment\/tsv-string-filter-by-regexp-2023-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-config-en.png?fit=1121%2C1269&amp;ssl=1\" data-orig-size=\"1121,1269\" 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=\"tsv-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\/tsv-string-filter-by-regexp-2023-config-en.png?fit=557%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-config-en-557x630.png?resize=557%2C630&#038;ssl=1\" alt=\"\" class=\"has-border-color wp-image-141469\" style=\"border-color:#009900;border-width:3px;border-radius:9px\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-config-en.png?resize=557%2C630&amp;ssl=1 557w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-config-en.png?resize=278%2C315&amp;ssl=1 278w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-config-en.png?resize=768%2C869&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-string-filter-by-regexp-2023-config-en.png?w=1121&amp;ssl=1 1121w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/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\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>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\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 (2022-12-15 to 2023-01-06)\n<ul class=\"wp-block-list\">\n<li><code>(^2022-12-1[5-9]$)|(^2022-12-[2-3][0-9]$)|(^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=\"86gvWupH6X\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/tsv-string-filter-by-keywords-2023\/\">TSV String, Filter by Keywords<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;TSV String, Filter by Keywords&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/tsv-string-filter-by-keywords-2023\/embed\/#?secret=rnvQd202Cd#?secret=86gvWupH6X\" data-secret=\"86gvWupH6X\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>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).<\/p>\n","protected":false},"author":2,"featured_media":141463,"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,389,2535],"class_list":["post-141471","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-regexp","tag-tsv-csv","tag-workflow-automation"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"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","uagb_featured_image_src":{"full":["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",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/01\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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\/tsv-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 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).","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-ANN","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":70950,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-filteringbynumber\/","url_meta":{"origin":141471,"position":0},"title":"TSV Filtering by Number","author":"Hirotaka NISHI","date":"2018-11-14","format":false,"excerpt":"Filter the rows on tab-delimited text (TSV) stored in String type Data Item by a range of numbers and save it","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-number-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-number-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-number-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-number-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-number-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":84096,"url":"https:\/\/support.questetra.com\/en\/addons\/two-tsv-strings-compare-numeric-cells\/","url_meta":{"origin":141471,"position":1},"title":"Two Tsv Strings, Compare Numeric Cells","author":"IMAMURA, Genichi","date":"2020-01-30","format":false,"excerpt":"Compares numeric column strings in TSV-A and TSV-B, and lists the amount of change from A to B. If there is no string that matches the key column of A, it will not be listed. If there are multiple matches, it will be compared with the key above.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Two Tsv Strings, Compare Numeric Cells","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/Two-Tsv-Strings-Compare-Numeric-Cells-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\/01\/Two-Tsv-Strings-Compare-Numeric-Cells-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/Two-Tsv-Strings-Compare-Numeric-Cells-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/Two-Tsv-Strings-Compare-Numeric-Cells-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/Two-Tsv-Strings-Compare-Numeric-Cells-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":70961,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-filteringbydate\/","url_meta":{"origin":141471,"position":2},"title":"TSV Filtering by Date","author":"Hirotaka NISHI","date":"2018-11-14","format":false,"excerpt":"Filter a row in a tab-delimited text (TSV) stored in a String type Data Items by date range and save. dateString should be in a format recognized by the Date.parse() method. Date-only strings (e.g. \"1970-01-01\") are treated as UTC, not local. *Note dateString should be in a format recognized by\u2026","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-date-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-date-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-date-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-date-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/11\/tsv-filter-by-date-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":83123,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-filter-out-by-text\/","url_meta":{"origin":141471,"position":3},"title":"TSV String, Filter Out by Text","author":"IMAMURA, Genichi","date":"2019-12-26","format":false,"excerpt":"Filters out TSV lines by any search text (Exclude Filter). Only lines that DO NOT contain the search text in the specified column are output. If 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":"TSV String, Filter Out by Text","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/TSV-String-Filter-Out-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\/12\/TSV-String-Filter-Out-by-Text-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/TSV-String-Filter-Out-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\/12\/TSV-String-Filter-Out-by-Text-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/TSV-String-Filter-Out-by-Text-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":82245,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-filter-by-text\/","url_meta":{"origin":141471,"position":4},"title":"TSV String, Filter by Text","author":"IMAMURA, Genichi","date":"2019-11-25","format":false,"excerpt":"Filters TSV string with any search text. Only lines that contain the search text in the specified column 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":"TSV String, Filter by Text","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/TSV-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\/TSV-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\/TSV-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\/TSV-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\/TSV-String-Filter-by-Text-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":82695,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-filter-by-numeric\/","url_meta":{"origin":141471,"position":5},"title":"TSV String, Filter by Numeric","author":"IMAMURA, Genichi","date":"2021-02-01","format":false,"excerpt":"Filters TSV strings using a numeric range. Only the rows where the specified numeric column is included in the numeric range are output. If you want to OR multiple ranges, specify them in comma separated form like \"-100","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 Numeric","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/TSV-String-Filter-by-Numeric-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\/12\/TSV-String-Filter-by-Numeric-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/TSV-String-Filter-by-Numeric-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/TSV-String-Filter-by-Numeric-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/TSV-String-Filter-by-Numeric-en.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\/141471","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=141471"}],"version-history":[{"count":4,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/141471\/revisions"}],"predecessor-version":[{"id":141793,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/141471\/revisions\/141793"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/141463"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=141471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=141471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=141471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}