{"id":118625,"date":"2022-01-18T15:49:56","date_gmt":"2022-01-18T06:49:56","guid":{"rendered":"https:\/\/support.questetra.com\/?p=118625"},"modified":"2022-05-30T16:09:22","modified_gmt":"2022-05-30T07:09:22","slug":"string-batch-add-thousands-separators-2022","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/string-batch-add-thousands-separators-2022\/","title":{"rendered":"String, Batch Add Thousands Separators"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#003e04;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#267137;color:#ffffff;border-top-left-radius:0px;border-top-right-radius:0px\">String, Batch Add Thousands Separators<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\"> Detects numbers with more than three digits in the text and adds thousand separators to each number. A comma, dot, or space can be specified as the digit separator. Note that this replacement will also be applied to decimals, postal codes and years.<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<ul class=\"fa-ul\">\n<li><span class=\"fa-li\"><i class=\"far fa-edit fa-lg\"><\/i><\/span> A: Set String<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li>B: Select Thousands Separator<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> C: Select STRING DATA that stores Replaced String (update)<span style=\"color:#990000;\"> *<\/span><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script (click to open)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\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;StrConfA&quot; );          \/\/\/ REQUIRED \/\/\/\/\/\/\/\/\/\/\/\n  if( strInput      === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A: String} is empty \\n&quot; );\n  }\nconst strSeparator    = configs.get( &quot;SelectConfB&quot; );       \/\/\/ REQUIRED \/\/\/\/\/\/\/\/\/\/\/\n  engine.log( &quot; AutomatedTask Config: Separator: &quot; + strSeparator );\nconst strPocketOutput = configs.getObject( &quot;SelectConfC&quot; ); \/\/\/ REQUIRED \/\/\/\/\/\/\/\/\/\/\/\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 ==\nlet strOutput;\nif( strSeparator === &quot;comma&quot; ){\n    strOutput = strInput.replace(\/(\\d)(?=(\\d{3})+(?!\\d))\/g, &#39;$1,&#39;); \/\/ supports zh ja\n    \/\/ scripts consistently written without punctuation to separate words\n    \/\/ strOutput = strInput.replace(\/\\B(?=(\\d{3})+(?!\\d))\/g, &#39;,&#39;); \/\/ non-word boundary\n}else if( strSeparator === &quot;dot&quot; ){\n    strOutput = strInput \/\/ &#39;dot&#39; sign is used to separate decimal places in JavaScript\n                .replace(\/(\\d)\\.(?=\\d)\/g, &#39;$1,&#39;)\n                .replace(\/(\\d)(?=(\\d{3})+(?!\\d))\/g, &#39;$1.&#39;);\n}else if( strSeparator === &quot;space&quot; ){\n    strOutput = strInput\n                .replace(\/(\\d)\\.(?=\\d)\/g, &#39;$1,&#39;)\n                .replace(\/(\\d)(?=(\\d{3})+(?!\\d))\/g, &#39;$1 &#39;);\n}\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nengine.setData( strPocketOutput, strOutput );\n\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/*\nNotes:\n- When the process reaches this automated task, the string data will be converted.\n    - Numeric characters with more than 4 digits (4 characters) will be replaced.\n    - This would also apply to postal codes, phone numbers, and the year (2022).\n- For example, strings such as &quot;Total Report&quot; or &quot;Summary TSV&quot; will be easier to read.\n\n\nAPPENDIX:\nJavaScript Numeric literals A decimal point (&quot;.&quot;)\n- Input Sample: `$12345678.90`\n    - Output: `$12,345,678.90`\n- Input Sample: &quot;\u20ac12345.00`\n    - Output: `\u20ac12,345.00`\n- Input Sample: `12345678.90123`\n    - Output: `12,345,678.90,123` (not good)\n- Input Sample: `0120-345-678`\n    - Output: `0,120-345-678` (not good)\n- Implementation of regular expression replacement (comma added)\n    - Add digit separator `&quot;,&quot;`.\n    - `.replace(\/(\\d)(?=(\\d{3})+(?!\\d))\/g, &#39;$1,&#39;)`\n        - Replace all &quot;{number}&quot; with &quot;{number},&quot;.\n        - But only if immediately followed by the pattern `(\\d{3})+(?!\\d)`\n            - `(\\d{3})`: three numeric characters\n            - `(?!\\d)`: non-numeric character\n- Implementation of regular expression replacement (period =&gt; comma)\n    - Replace the decimal period (JavaScript literal) with a comma\n    - `.replace(\/(\\d)\\.(?=\\d)\/g, &#39;$1,&#39;)`\n        - Replace all &quot;{number}.&quot; will be replaced with &quot;{number},&quot;.\n        - But only if immediately followed by `\\d` (Lookahead assertion)\n    - https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Guide\/Regular_Expressions\/Assertions\n\n\nNotes-ja:\n- \u6848\u4ef6\u304c\u3053\u306e\u81ea\u52d5\u51e6\u7406\u5de5\u7a0b\u306b\u5230\u9054\u3057\u305f\u969b\u3001\u6587\u5b57\u5217\uff08\u8907\u6570\u884c\/\u5358\u4e00\u884c\uff09\u3092\u81ea\u52d5\u7684\u306b\u5909\u63db\u3057\u307e\u3059\u3002\n    - 4\u6841\u4ee5\u4e0a\uff084\u6587\u5b57\u4ee5\u4e0a\uff09\u306e\u6570\u5b57\u6587\u5b57\u5217\u304c\u7f6e\u63db\u3055\u308c\u307e\u3059\u3002\n    - \u90f5\u4fbf\u756a\u53f7\u3001\u96fb\u8a71\u756a\u53f7\u3001\u897f\u66a6\uff082022\u5e74\uff09\u306a\u3069\u306b\u3082\u9069\u7528\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\n- \u305f\u3068\u3048\u3070\u3001\u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u300c\u5408\u8a08\u5024\u30ec\u30dd\u30fc\u30c8\u300d\u3084\u300c\u58f2\u4e0a\u96c6\u8a08TSV\u300d\u3092\u8aad\u307f\u3084\u3059\u304f\u3057\u307e\u3059\u3002\n\nAPPENDIX-ja:\n- \u30b5\u30f3\u30d7\u30eb\n    - Input: `$12345678.90`\n    - Output: `$12,345,678.90`\n    - Input: &quot;\u20ac12345.00`\n    - Output: `\u20ac12,345.00`\n    - Input: `12345678.90123`\n    - Output: `12,345,678.90,123` (not good)\n    - Input: `0120-345-678`\n    - Output: `0,120-345-678` (not good)\n- \u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u7f6e\u63db\u306e\u5b9f\u88c5\uff08\u30ab\u30f3\u30de\u8ffd\u52a0\uff09\n    - \u6841\u533a\u5207\u308a\u8a18\u53f7\u3014,\u3015\u3092\u8ffd\u52a0\n    - `.replace(\/(\\d)(?=(\\d{3})+(?!\\d))\/g, &#39;$1,&#39;)`\n        - \u5168\u3066\u306e\u300e{\u6570\u5b57}\u300f\u3092\u300e{\u6570\u5b57},\u300f\u306b\u7f6e\u63db\u3057\u307e\u3059\u3002\n        - \u305f\u3060\u3057\u3001\u305d\u306e\u76f4\u5f8c\u306b `(\\d{3})+(?!\\d)` \u306e\u30d1\u30bf\u30fc\u30f3\u304c\u7d9a\u304f\u5834\u5408\u306e\u307f\uff08\u5148\u8aad\u307f\u8a00\u660e\uff09\n            - `(\\d{3})`: \u6570\u5b573\u6587\u5b57\n            - `(?!\\d)`: \u6570\u5b57\u4ee5\u5916\u306e\u6587\u5b57\n- \u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u7f6e\u63db\u306e\u5b9f\u88c5\uff08\u30d4\u30ea\u30aa\u30c9\u21d2\u30ab\u30f3\u30de\uff09\n    - \u5c0f\u6570\u70b9\u30d4\u30ea\u30aa\u30c9\u3014JavaScript \u30ea\u30c6\u30e9\u30eb\u3015\u3092\u30ab\u30f3\u30de\u306b\u7f6e\u63db\n    - `.replace(\/(\\d)\\.(?=\\d)\/g, &#39;$1,&#39;)`\n        - \u5168\u3066\u306e\u300e{\u6570\u5b57}.\u300f\u3092\u300e{\u6570\u5b57},\u300f\u306b\u7f6e\u63db\u3057\u307e\u3059\u3002\n        - \u305f\u3060\u3057\u3001\u305d\u306e\u76f4\u5f8c\u306b `\\d`\uff08\u6570\u5b57\uff09\u304c\u7d9a\u304f\u5834\u5408\u306e\u307f\uff08\u5148\u8aad\u307f\u8a00\u660e\uff0fLookahead assertion\uff09\n    - https:\/\/developer.mozilla.org\/ja\/docs\/Web\/JavaScript\/Guide\/Regular_Expressions\/Assertions\n*\/\n\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"#\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA5BJREFUWEfF\nl1tIFFEYx3\/jLSu7aBERdgFFKzbJghJ82C5CSZYQQSX1sBXuughZG2gP9ZwgJSG5RuZDYfsUdJEu\n5JbgkhUkbJkVPmRZZLe1crXyMjGzTbtuuztno9jzNjPn+5\/\/+c7\/+\/5nJGI8JOH1G5iCzFYk1iKT\ni8QiIPVXvAeZF0h0InMbiYuYGRLB1ifQxFx+UAlYgGQRUOAbYCeJaky8jRQTmYAdCxI1wFTBhYOn\neZE5hAV7uPjwBBo4BZT95cLBYfWYsYbCCk3ATjMSO\/\/R4j4YmQtYKAnG\/JPAv925biYmEvCdeb3I\nzjct2ERyfDI3+27ydeSrSIiWibJATfgJ+NTeIyK4kswS6vLrSIxLpPJeJaeeKHIRHl6SyNSqw0+g\ngRNAhQhMo7ERU7YJCYnW160UtBSIhAXOqcXMAeWFj4DSZOCjSJ1nzcji8obLZM\/MVkM93z2Uu8pp\n7mmOhoTSJ2YpzcpHwM4uJM6JIBxefpijK4+q5+8Tt4yjx0GJ8w+BR4aT2Y2F81oGGoE9IgSubrzK\nunnrGJPHSElMUUN6B3vZcWsHHe86RCC0OWcxs1fLwEMkcvWiC+cX0rSmieefnzPwfYCihUWqDkbG\nRzjuPk7V\/So9CP93mU4srNAy8CnAWMKCKMrft3gftY9qcX9yq5WQOsnnR50fOjFeMUZTkh7MpGkE\nZD3q0xKn0ba5jbTkNDXdXZ4u9Tl3ti9xgyOD0ZekGUmYgHWplerV1TjfOCm+UawuWpNXw37DfhLi\nEtTnlpctFF0v0tuL\/3sAAd0jcKx3sD1je0Tw\/uF+THdMXHt1TYREwBHYiSjCvDl5OAocjI2P4ep3\nTQA3pBp+H8O4PM7p7tOUtQuYaJAII5bhsVXHqFhWwZmnZ9SmEzi0o9FK8tnAM7bc2KJWis6YUIYR\nG5Gr2EXG9IyQ6dXEqYnRO+ql6l4VdV11UTWisK1YM57ugW7yL+WHBFUydDDnoGpOgmIMasVKVAgz\nUjrekRVHMM4z0v62HdtdGw\/eP5hAIn1qOqVLSrHl2JiSoOwDtRecfHwS+xM7fd6+UKSDzEiZEmTH\n7m1uDGkGhkaHUMQVJ8WpCzhfO3+7n0JO8Yak+CSGR4dVX1BGvBTP5ITJfPnxBWu7NdiowtixEhnF\nhURPYWG\/y4S5kGgRMb2SaSRiein9P5mI8lruz0QMf0w0EjH9NQuUcsx+Tv+63sQCfwL9gFkwfk0h\nYgAAAABJRU5ErkJggg==\n\" alt=\"\"\/><\/a><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/drive.google.com\/file\/d\/1Jx6XFkTPSor5FgYllRP-flCnXlaabp7s\/view?usp=drivesdk\" target=\"_blank\" rel=\"noreferrer noopener\">string-batch-add-thousands-separators-2022.xml<\/a><\/li><\/ul>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\">2022-01-16 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/string-batch-add-thousands-separators-2022\/\">https:\/\/support.questetra.com\/addons\/string-batch-add-thousands-separators-2022\/<\/a><br><i class=\"fal fa-info-circle\"><\/i> The Add-on import feature is available with <span style=\"color:#4a86e8\" class=\"has-inline-color\"><strong>Professional<\/strong><\/span> edition.<br>Freely modifiable JavaScript (ECMAScript) code. No warranty of any kind.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"notes\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>When the process reaches this automated task, the string data will be automatically converted.<ul><li>Numeric characters with more than 4 digits will be replaced.<\/li><li>This will also apply to postal codes, phone numbers, and the year (2022).<\/li><\/ul><\/li><li>For example, it makes automatically generated total value reports and sales summary TSVs easier to read.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"capture\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"118611\" data-permalink=\"https:\/\/support.questetra.com\/en\/templates\/online-sales-for-subscription-by-stripe-20220121\/attachment\/string-batch-add-thousands-separators-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-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=\"string-batch-add-thousands-separators-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Detects numbers with more than three digits in the text and adds thousand separator to each number. A comma, dot, or space can be specified as the digit separator. Note that this replacement will also be applied to decimals, postal codes and years.\" class=\"wp-image-118611\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-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 size-full is-style-default\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"118615\" data-permalink=\"https:\/\/support.questetra.com\/en\/templates\/online-sales-for-subscription-by-stripe-20220121\/attachment\/string-batch-add-thousands-separators-capture-select\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.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=\"string-batch-add-thousands-separators-capture-select\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.png?resize=1200%2C675&#038;ssl=1\" alt=\"\" class=\"wp-image-118615\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-select.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 size-large is-style-default q-box\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"619\" data-attachment-id=\"118617\" data-permalink=\"https:\/\/support.questetra.com\/en\/templates\/online-sales-for-subscription-by-stripe-20220121\/attachment\/string-batch-add-thousands-separators-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en.png?fit=1166%2C705&amp;ssl=1\" data-orig-size=\"1166,705\" 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=\"string-batch-add-thousands-separators-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en.png?fit=1024%2C619&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en-1024x619.png?resize=1024%2C619&#038;ssl=1\" alt=\"\" class=\"wp-image-118617\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en.png?resize=1024%2C619&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en.png?resize=521%2C315&amp;ssl=1 521w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en.png?resize=768%2C464&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-config-en.png?w=1166&amp;ssl=1 1166w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"appendix\"><i class=\"fal fa-book\"><\/i> Appendix<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Input Sample: <code>$12345678.90<\/code><ul><li>Output: <code>$12,345,678.90<\/code><\/li><\/ul><\/li><li>Input Sample: &#8220;\u20ac12345.00`<ul><li>Output: <code>\u20ac12,345.00<\/code><\/li><\/ul><\/li><li>Input Sample: <code>12345678.90123<\/code><ul><li>Output: <code>12,345,678.90,123<\/code> (not good)<\/li><\/ul><\/li><li>Input Sample: <code>0120-345-678<\/code><ul><li>Output: <code>0,120-345-678<\/code> (not good)<\/li><\/ul><\/li><li>Implementation of regular expression replacement (comma added)<ul><li>Add digit separator <code>\",\"<\/code>.<\/li><li><code>.replace(\/(\\d)(?=(\\d{3})+(?!\\d))\/g, '$1,')<\/code><ul><li>Replace all &#8220;{number}&#8221; with &#8220;{number},&#8221;.<\/li><li>But only if immediately followed by the pattern <code>(\\d{3})+(?!\\d)<\/code><ul><li><code>(\\d{3})<\/code>: three numeric characters<\/li><li><code>(?!\\d)<\/code>: non-numeric character<\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><li>Implementation of regular expression replacement (period =&gt; comma)<ul><li>Replace the decimal period (JavaScript literal) with a comma<\/li><li><code>.replace(\/(\\d)\\.(?=\\d)\/g, '$1,')<\/code><ul><li>Replace all &#8220;{number}.&#8221; will be replaced with &#8220;{number},&#8221;.<\/li><li>But only if immediately followed by <code>\\d<\/code> (Lookahead assertion)<\/li><\/ul><\/li><li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Guide\/Regular_Expressions\/Assertions\" rel=\"nofollow\">https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Guide\/Regular_Expressions\/Assertions<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"see-also\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/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=\"LpaXCZal9A\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/tsv-string-create-cross-table-for-numeric-column-2021\/\">TSV String, Create Cross Table for Numeric Column<\/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;TSV String, Create Cross Table for Numeric Column&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/tsv-string-create-cross-table-for-numeric-column-2021\/embed\/#?secret=EsVoxyvBxe#?secret=LpaXCZal9A\" data-secret=\"LpaXCZal9A\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\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=\"2yIYqyvX5R\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/two-tsv-strings-compare-numeric-cells-2021\/\">Two Tsv Strings, Compare Numeric Cells<\/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;Two Tsv Strings, Compare Numeric Cells&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/two-tsv-strings-compare-numeric-cells-2021\/embed\/#?secret=cZYvumI4Yf#?secret=2yIYqyvX5R\" data-secret=\"2yIYqyvX5R\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Detects numbers with more than three digits in the text and adds thousand separators to each number. A comma, dot, or space can be specified as the digit separator. Note that this replacement will also be applied to decimals, postal codes and years.<\/p>\n","protected":false},"author":2,"featured_media":118611,"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":"Detects numbers with more than three digits in the text and adds thousand separator to each number. A comma, dot, or space can be specified as the digit separator. Note that this replacement will also be applied to decimals, postal codes and years.","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":[365,381,389],"faq_section":[],"class_list":["post-118625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-easy-config-addon","tag-regexp","tag-tsv-csv"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-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":1,"uagb_excerpt":"Detects numbers with more than three digits in the text and adds thousand separators to each number. A comma, dot, or space can be specified as the digit separator. Note that this replacement will also be applied to decimals, postal codes and years.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-uRj","jetpack-related-posts":[{"id":175014,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-add-thousands-separators-2025\/","url_meta":{"origin":118625,"position":0},"title":"#TSV-String: Add Thousands Separators","author":"IMAMURA, Genichi","date":"2025-07-16","format":false,"excerpt":"Formats the specified range of columns from START index to END index of the TSV (END not included). The index starts from \"0\". Negative index counts back from the end. If START is omitted \"from the beginning\", and if END is omitted \"to the end\".","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\/2025\/07\/tsv-string-add-thousands-separators-2025-en.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-en.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-en.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-en.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-en.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":118632,"url":"https:\/\/support.questetra.com\/ja\/addons\/string-batch-add-thousands-separators-2022\/","url_meta":{"origin":118625,"position":1},"title":"\u6587\u5b57\u5217, \u6570\u5024\u306b\u6841\u533a\u5207\u308a\u8a18\u53f7\u3092\u4e00\u62ec\u4ed8\u4e0e","author":"IMAMURA, Genichi","date":"2022-01-18","format":false,"excerpt":"\u30c6\u30ad\u30b9\u30c8\u4e2d\u306e4\u6841\u4ee5\u4e0a\u6570\u5024\uff08\u6570\u5b574\u9023\u7d9a\u4ee5\u4e0a\uff09\u3092\u691c\u51fa\u3057\u3001\u5404\u6570\u5024\u306b\u5bfe\u3057\u3066\u30b1\u30bf\u533a\u5207\u8a18\u53f7\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002\u6841\u533a\u5207\u308a\u8a18\u53f7\u306b\u306f\u3001\u30ab\u30f3\u30de\u3001\u30c9\u30c3\u30c8\u3082\u3057\u304f\u306f\u30b9\u30da\u30fc\u30b9\u304c\u6307\u5b9a\u53ef\u80fd\u3067\u3059\u3002\u3053\u306e\u81ea\u52d5\u5909\u63db\u306f\u3001\u5c0f\u6570\u90e8\u3084\u90f5\u4fbf\u756a\u53f7\u3084\u5e74\u53f7\u306b\u3082\u9069\u7528\u3055\u308c\u3066\u3057\u307e\u3046\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\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":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-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\/2022\/01\/string-batch-add-thousands-separators-capture-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":77998,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-add-static-value-to-all-lines\/","url_meta":{"origin":118625,"position":2},"title":"TSV String; Add Static Value to All Lines","author":"IMAMURA, Genichi","date":"2019-07-26","format":false,"excerpt":"Adds the new string cell to the end of all rows. If there are space characters or line feed characters at the beginning and end of the TSV, they will be deleted beforehand. If the number of tab separators does not match, an error will occur.","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\/2019\/07\/TSV-String-Add-Static-Value-to-All-Lines-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\/07\/TSV-String-Add-Static-Value-to-All-Lines-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/TSV-String-Add-Static-Value-to-All-Lines-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/TSV-String-Add-Static-Value-to-All-Lines-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/TSV-String-Add-Static-Value-to-All-Lines-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":175018,"url":"https:\/\/support.questetra.com\/ja\/addons\/tsv-string-add-thousands-separators-2025\/","url_meta":{"origin":118625,"position":3},"title":"#TSV\u6587\u5b57\u5217: \u6841\u533a\u5207\u308a\u8a18\u53f7\u306e\u8ffd\u52a0","author":"IMAMURA, Genichi","date":"2025-07-16","format":false,"excerpt":"\u6307\u5b9a\u306e\u5217\u7bc4\u56f2\u306b\u6841\u533a\u5207\u308a\u66f8\u5f0f\u3092\u9069\u7528\u3057\u307e\u3059\u3002START\u5217\u304b\u3089END\u5217\u306e\u624b\u524d\u307e\u3067\uff08END\u306f\u542b\u307e\u306a\u3044\uff09\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306f\u300c0\u300d\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002\u8ca0\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306f\u672b\u5c3e\u304b\u3089\u9006\u7b97\u3055\u308c\u307e\u3059\u3002START\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f\u300c\u5148\u982d\u304b\u3089\u300d\u3001END\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f\u300c\u672b\u5c3e\u307e\u3067\u300d\u3068\u306a\u308a\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":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-ja.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-ja.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-ja.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-ja.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/07\/tsv-string-add-thousands-separators-2025-ja.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":78314,"url":"https:\/\/support.questetra.com\/en\/addons\/tsv-string-sum-of-number-column\/","url_meta":{"origin":118625,"position":4},"title":"TSV String; Sum of Number Column","author":"IMAMURA, Genichi","date":"2019-08-05","format":false,"excerpt":"Calculates the sum of values in numeric column. If non-numeric data is mixed in the specified column, the record is regarded as zero and not added.","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":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/TSV-String-Sum-of-Number-Column-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\/08\/TSV-String-Sum-of-Number-Column-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/TSV-String-Sum-of-Number-Column-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/TSV-String-Sum-of-Number-Column-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/TSV-String-Sum-of-Number-Column-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67321,"url":"https:\/\/support.questetra.com\/en\/addons\/googlesheets-sumnumberscom\/","url_meta":{"origin":118625,"position":5},"title":"Sum of cells in a Google Sheets (comma removal version)","author":"Hirotaka NISHI","date":"2016-09-13","format":false,"excerpt":"Stores the sum of specified range of a Google Sheet in a Numeric-type Data Item, and stores its communication log in a String-type Data Item. Comma removal version corresponds to the case where the decimal separator \u201c,\u201d is mixed *Note \u201c+3.14\u201d: 3.14, \u201c314e-2\u201d: 3.14, \u201c090\u201d: 90, \u201c2016-12-23\u201d: 2016, \u2018Begin with\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\/2016\/09\/google-sheets-sum-numbers-comma-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\/2016\/09\/google-sheets-sum-numbers-comma-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2016\/09\/google-sheets-sum-numbers-comma-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2016\/09\/google-sheets-sum-numbers-comma-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2016\/09\/google-sheets-sum-numbers-comma-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/string-batch-add-thousands-separators-capture-en.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/118625","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=118625"}],"version-history":[{"count":8,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/118625\/revisions"}],"predecessor-version":[{"id":118895,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/118625\/revisions\/118895"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/118611"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=118625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=118625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=118625"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=118625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}