<?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 I would suggest regexp,… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85386#M36387</link>
    <description>I would suggest regexp, unless text around the number is static -&amp;nbsp;then just replace ""CDH Investments Join $"" and ""M Round In Chinese Online Education Firm Longzhimen"" with """" and you have your digits.</description>
    <pubDate>Tue, 16 Oct 2018 17:45:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2018-10-16T17:45:00Z</dc:date>
    <item>
      <title>Extract Digits from the text line</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85385#M36386</link>
      <description>Hello,

I've a use case where in i wanted to extract digits from the below sample text. Can someone help me to resolve this?

&amp;nbsp;

"CDH Investments Join $14.5M Round In Chinese Online Education Firm Longzhimen"

&amp;nbsp;

Thanks,</description>
      <pubDate>Tue, 16 Oct 2018 11:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85385#M36386</guid>
      <dc:creator>RushitVaghasiya</dc:creator>
      <dc:date>2018-10-16T11:06:00Z</dc:date>
    </item>
    <item>
      <title>I would suggest regexp,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85386#M36387</link>
      <description>I would suggest regexp, unless text around the number is static -&amp;nbsp;then just replace ""CDH Investments Join $"" and ""M Round In Chinese Online Education Firm Longzhimen"" with """" and you have your digits.</description>
      <pubDate>Tue, 16 Oct 2018 17:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85386#M36387</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-10-16T17:45:00Z</dc:date>
    </item>
    <item>
      <title>CDH Investments Join $14.5M…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85387#M36388</link>
      <description>CDH Investments Join $14.5M Round In Chinese Online Education Firm Longzhimen --&amp;gt; Store this in data Item. Now use the calculation stage and use Length function store it in data item now take 2nd calculation stage and find the position of ""$"" using Instr function and store in data item again use calculation stage use Instr function and expression should be ""Total Length of string"",&amp;nbsp;Total Length of string - Postion length.
I hope this will help.</description>
      <pubDate>Tue, 16 Oct 2018 19:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85387#M36388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T19:17:00Z</dc:date>
    </item>
    <item>
      <title>@aikudino
text is not static…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85388#M36389</link>
      <description>@aikudino
text is not static hence replace would not work,
Can you please share&amp;nbsp;Regex Pattern to extract ""14.5"" for the said string?</description>
      <pubDate>Wed, 17 Oct 2018 09:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85388#M36389</guid>
      <dc:creator>RushitVaghasiya</dc:creator>
      <dc:date>2018-10-17T09:37:00Z</dc:date>
    </item>
    <item>
      <title>@Saumitra
I tried your…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85389#M36390</link>
      <description>@Saumitra
I tried your suggestion and it will work for $ cases but the currency&amp;nbsp;is not static and will chance form case to case.</description>
      <pubDate>Wed, 17 Oct 2018 09:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85389#M36390</guid>
      <dc:creator>RushitVaghasiya</dc:creator>
      <dc:date>2018-10-17T09:39:00Z</dc:date>
    </item>
    <item>
      <title>Simple one is: ""[\d\.]+"" …</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85390#M36391</link>
      <description>Simple one is: ""[\d\.]+"" (that will match something like 127.0.0.1 too if it happens to be in input), ""\d+(\.\d+)?"" is better to match float.
Seems like you don't care about M suffix...&amp;nbsp;
&amp;nbsp;</description>
      <pubDate>Wed, 17 Oct 2018 15:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85390#M36391</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-10-17T15:59:00Z</dc:date>
    </item>
    <item>
      <title>Thanks aikudino
It works…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85391#M36392</link>
      <description>Thanks aikudino
It works with small ticks.
""([$](\d+)([.]*)[\d*])</description>
      <pubDate>Fri, 19 Oct 2018 17:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85391#M36392</guid>
      <dc:creator>RushitVaghasiya</dc:creator>
      <dc:date>2018-10-19T17:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Thanks aikudino
It works…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85392#M36393</link>
      <description>Hi, could you please explain how did it work? I have the same usecase as below and need to extract 2.65 and then 8 etc., This text is in collection&lt;BR /&gt;&lt;BR /&gt;Deducted amount 2345 as of 28/03/22 for rate &lt;STRONG&gt;2.65&lt;/STRONG&gt; per scheme&lt;BR /&gt;Deducted amount 678 as of&amp;nbsp; 8/02/22 for rate nxy &lt;STRONG&gt;8&lt;/STRONG&gt; per scheme&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Navaneetha Thupalli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2022 10:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85392#M36393</guid>
      <dc:creator>NavaneethaThupa</dc:creator>
      <dc:date>2022-04-06T10:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Thanks aikudino
It works…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85393#M36394</link>
      <description>Hi N,&lt;BR /&gt;&lt;BR /&gt;If your search this community for 'regex' threads, you'll find a lot of examples and instructions on how to accomplish that. There's also &lt;A href="https://regex101.com/" target="_blank" rel="noopener"&gt;this site&lt;/A&gt; to help you further with regex.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Apr 2022 12:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Extract-Digits-from-the-text-line/m-p/85393#M36394</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2022-04-07T12:59:00Z</dc:date>
    </item>
  </channel>
</rss>

