<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Talend open studio for DQ: Regex pattern ^.{50}$ does not match when field begins or ends with spaces. Why?? in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Talend-open-studio-for-DQ-Regex-pattern-50-does-not-match-when/m-p/2279150#M3418</link>
    <description>&lt;P&gt;Hi Sabrina, thanks for your response&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So I want to make sure the value in the column &lt;STRONG&gt;is EXACTLY 50 characters&lt;/STRONG&gt;. That is the goal with this expression. I believe your regex matches only letters a-z, A-Z with minimum 1 and max 50.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;I want it to match for example:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;' gggdhfjgkdlj jhdgsyru odk837&amp;lt;o +d-sgayr29l sjflm ' (50 characters with space in the beginning and end)&lt;/P&gt; 
&lt;P&gt;'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aa' (50 characters with 48 spaces in the beginning)&lt;/P&gt; 
&lt;P&gt;'aa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;nbsp;(50 characters with 48 spaces in the end)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't want to match values in a column that contains more than 50 characters. Does that make sense?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, using the regex in my original post, in Talend, &lt;STRONG&gt;only matches values that start AND end with a character that is NOT a space&lt;/STRONG&gt;. E.g.&lt;/P&gt; 
&lt;P&gt;'pfagdhfjgkdlj jhdgsyru odk837&amp;lt;o +d-sgayr29l sjflmo' (50 characters with a non-space character in the beginning and end)&lt;/P&gt; 
&lt;P&gt;'a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;aa' (50 characters with a non-space character in the beginning and end)&lt;/P&gt; 
&lt;P&gt;'aa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a'&amp;nbsp;(50 characters with a non-space character in the beginning and end)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Appreciate your help!&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 10:14:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-19T10:14:33Z</dc:date>
    <item>
      <title>Talend open studio for DQ: Regex pattern ^.{50}$ does not match when field begins or ends with spaces. Why??</title>
      <link>https://community.qlik.com/t5/Data-Quality/Talend-open-studio-for-DQ-Regex-pattern-50-does-not-match-when/m-p/2279148#M3416</link>
      <description>&lt;P&gt;I’m new to talend and trying to use the profiler tool to analyse data in a csv file. Values in one of the columns in the file has to be exactly 50 characters long (any characters allowed, even spaces should be included).&lt;BR /&gt;&lt;BR /&gt;I’ve tried regex patterns ^.{50}$ and ^[\S\s]{50}$ but I don’t get matches when a value in the column begins and/or ends with spaces (total characters including the spaces are 50 when I’m testing - but no match). Anyone who has an idea why?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Talend-open-studio-for-DQ-Regex-pattern-50-does-not-match-when/m-p/2279148#M3416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Talend open studio for DQ: Regex pattern ^.{50}$ does not match when field begins or ends with spaces. Why??</title>
      <link>https://community.qlik.com/t5/Data-Quality/Talend-open-studio-for-DQ-Regex-pattern-50-does-not-match-when/m-p/2279149#M3417</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;If we understand your requirement very well, maybe you could try ^&lt;SPAN class="pun" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="pln" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;a&lt;/SPAN&gt;&lt;SPAN class="pun" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;zA&lt;/SPAN&gt;&lt;SPAN class="pun" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;Z&lt;/SPAN&gt;&lt;SPAN class="pun" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;,]{&lt;/SPAN&gt;&lt;SPAN class="lit" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #7d2727; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="pun" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="lit" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #7d2727; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;50&lt;/SPAN&gt;&lt;SPAN class="pun" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;$&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="pln" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: inherit; color: #303336; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;We will appreciate it if you could post your input data sample content here.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Elaborating your case with an example with input and expected output values will be preferred.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 10:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Talend-open-studio-for-DQ-Regex-pattern-50-does-not-match-when/m-p/2279149#M3417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-19T10:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Talend open studio for DQ: Regex pattern ^.{50}$ does not match when field begins or ends with spaces. Why??</title>
      <link>https://community.qlik.com/t5/Data-Quality/Talend-open-studio-for-DQ-Regex-pattern-50-does-not-match-when/m-p/2279150#M3418</link>
      <description>&lt;P&gt;Hi Sabrina, thanks for your response&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So I want to make sure the value in the column &lt;STRONG&gt;is EXACTLY 50 characters&lt;/STRONG&gt;. That is the goal with this expression. I believe your regex matches only letters a-z, A-Z with minimum 1 and max 50.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;I want it to match for example:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;' gggdhfjgkdlj jhdgsyru odk837&amp;lt;o +d-sgayr29l sjflm ' (50 characters with space in the beginning and end)&lt;/P&gt; 
&lt;P&gt;'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aa' (50 characters with 48 spaces in the beginning)&lt;/P&gt; 
&lt;P&gt;'aa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;nbsp;(50 characters with 48 spaces in the end)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't want to match values in a column that contains more than 50 characters. Does that make sense?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, using the regex in my original post, in Talend, &lt;STRONG&gt;only matches values that start AND end with a character that is NOT a space&lt;/STRONG&gt;. E.g.&lt;/P&gt; 
&lt;P&gt;'pfagdhfjgkdlj jhdgsyru odk837&amp;lt;o +d-sgayr29l sjflmo' (50 characters with a non-space character in the beginning and end)&lt;/P&gt; 
&lt;P&gt;'a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;aa' (50 characters with a non-space character in the beginning and end)&lt;/P&gt; 
&lt;P&gt;'aa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a'&amp;nbsp;(50 characters with a non-space character in the beginning and end)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Appreciate your help!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 10:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Talend-open-studio-for-DQ-Regex-pattern-50-does-not-match-when/m-p/2279150#M3418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-19T10:14:33Z</dc:date>
    </item>
  </channel>
</rss>

