<?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 Extract String parts Via Regex in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Extract-String-parts-Via-Regex/m-p/2195881#M53</link>
    <description>&amp;nbsp;I have the following data in one cell. (The length of the data varies not a fixed width format)&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;Measurement: Ring Head Width: 6.8 Ring Height: 5.5 Ring Shank Width: 1.1 Band Width: 2.5&lt;/PRE&gt;&lt;BR /&gt;I want to extract part of the above string. &lt;BR /&gt;&lt;PRE&gt;Ring Head Width: 6.8&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;I am using the function "&lt;B&gt;Extract string parts&lt;/B&gt;" with the following regex code to extract to the new column.&lt;BR /&gt;&lt;PRE&gt;\bRing Head Width: (\d+(\.\d+)?)&lt;/PRE&gt;&lt;BR /&gt;I have also tried.&lt;BR /&gt;&lt;PRE&gt;Ring Head Width: (\d+(\.\d+)?)&lt;/PRE&gt;&lt;BR /&gt;But when I Submit to execute it a new column gets created but it has no data matching the regex ?&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong. I tried to look for examples in help documentation but could not find any.&lt;BR /&gt;Any help is appreciated.</description>
    <pubDate>Sat, 16 Nov 2024 10:15:32 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T10:15:32Z</dc:date>
    <item>
      <title>Extract String parts Via Regex</title>
      <link>https://community.qlik.com/t5/Data-Quality/Extract-String-parts-Via-Regex/m-p/2195881#M53</link>
      <description>&amp;nbsp;I have the following data in one cell. (The length of the data varies not a fixed width format)&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;Measurement: Ring Head Width: 6.8 Ring Height: 5.5 Ring Shank Width: 1.1 Band Width: 2.5&lt;/PRE&gt;&lt;BR /&gt;I want to extract part of the above string. &lt;BR /&gt;&lt;PRE&gt;Ring Head Width: 6.8&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;I am using the function "&lt;B&gt;Extract string parts&lt;/B&gt;" with the following regex code to extract to the new column.&lt;BR /&gt;&lt;PRE&gt;\bRing Head Width: (\d+(\.\d+)?)&lt;/PRE&gt;&lt;BR /&gt;I have also tried.&lt;BR /&gt;&lt;PRE&gt;Ring Head Width: (\d+(\.\d+)?)&lt;/PRE&gt;&lt;BR /&gt;But when I Submit to execute it a new column gets created but it has no data matching the regex ?&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong. I tried to look for examples in help documentation but could not find any.&lt;BR /&gt;Any help is appreciated.</description>
      <pubDate>Sat, 16 Nov 2024 10:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Extract-String-parts-Via-Regex/m-p/2195881#M53</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T10:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extract String parts Via Regex</title>
      <link>https://community.qlik.com/t5/Data-Quality/Extract-String-parts-Via-Regex/m-p/2195882#M54</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;This one should do the trick:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;: ([a-zA-Z ]*: \d\.\d)&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;A quick explanation. What you want to capture is after the first occurence of ": " and is compound by&amp;nbsp;the following elements, in that order:
&lt;BR /&gt;[list=1]
&lt;BR /&gt;
&lt;LI&gt;A mix of uppercase, lowercase and spaces.&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;A colon&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;A space&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;A digit&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;A dot&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;A digit&lt;/LI&gt;
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFyW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153643iC11256269729692D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFyW.png" alt="0683p000009MFyW.png" /&gt;&lt;/span&gt;
&lt;BR /&gt;
&lt;BR /&gt;Regards,
&lt;BR /&gt;
&lt;BR /&gt;Gwendal</description>
      <pubDate>Sun, 13 Nov 2016 20:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Extract-String-parts-Via-Regex/m-p/2195882#M54</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-13T20:39:01Z</dc:date>
    </item>
  </channel>
</rss>

