<?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 Regex to replace brackets in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99232#M46815</link>
    <description>Decipher reads value from a field which is a monetary value and can be negative sometimes. For whatever reason, money datatype had a low confidence level so I am using Text datatype and it is reading accurately with full confidence.&amp;nbsp;&lt;BR /&gt;Example of value: (15) reads off as {(15)&lt;BR /&gt;Exclude values removes "{" and ")"&lt;BR /&gt;Value remaining: (15&lt;BR /&gt;At this point I am using Regex, If the value has "(", then replace it with "-"&lt;BR /&gt;&lt;BR /&gt;However, the documents gets stopped at Data verification stage with red flag on this field. Error message is "The Value is not equal to -15 in the formula".&amp;nbsp;&lt;BR /&gt;The Value auto-populated is (15)&lt;BR /&gt;Expression: IF(EQ(STRCONTAINS(Field_Id,"("),1), STRREPLACE(Field_Id,"(","-"),SELF)&lt;BR /&gt;&lt;BR /&gt;Any ideas/tips on how to improve the expression ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;</description>
    <pubDate>Fri, 01 Apr 2022 02:07:41 GMT</pubDate>
    <dc:creator>KaranBhagwani1</dc:creator>
    <dc:date>2022-04-01T02:07:41Z</dc:date>
    <item>
      <title>Regex to replace brackets</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99232#M46815</link>
      <description>Decipher reads value from a field which is a monetary value and can be negative sometimes. For whatever reason, money datatype had a low confidence level so I am using Text datatype and it is reading accurately with full confidence.&amp;nbsp;&lt;BR /&gt;Example of value: (15) reads off as {(15)&lt;BR /&gt;Exclude values removes "{" and ")"&lt;BR /&gt;Value remaining: (15&lt;BR /&gt;At this point I am using Regex, If the value has "(", then replace it with "-"&lt;BR /&gt;&lt;BR /&gt;However, the documents gets stopped at Data verification stage with red flag on this field. Error message is "The Value is not equal to -15 in the formula".&amp;nbsp;&lt;BR /&gt;The Value auto-populated is (15)&lt;BR /&gt;Expression: IF(EQ(STRCONTAINS(Field_Id,"("),1), STRREPLACE(Field_Id,"(","-"),SELF)&lt;BR /&gt;&lt;BR /&gt;Any ideas/tips on how to improve the expression ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2022 02:07:41 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99232#M46815</guid>
      <dc:creator>KaranBhagwani1</dc:creator>
      <dc:date>2022-04-01T02:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to replace brackets</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99233#M46816</link>
      <description>Hi Karan,&lt;BR /&gt;&lt;BR /&gt;What currency are you trying to read and what language/locale have you set? Unfamiliar currency symbols can potentially affect the confidence, as well as nearby characters which are not currency related.&lt;BR /&gt;&lt;BR /&gt;If you use a field for calculation, is best not to have it assignable to a region, otherwise you will get the issue experienced. A value cannot be both the assigned value and the calculated value. I would recommend having the assignable field separate from the calculated field. Alternatively you could do the transformation in Blue Prism.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ben</description>
      <pubDate>Fri, 01 Apr 2022 09:19:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99233#M46816</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2022-04-01T09:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to replace brackets</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99234#M46817</link>
      <description>Hi Ben,&lt;BR /&gt;&lt;BR /&gt;Currency: $&lt;BR /&gt;Lang: English&lt;BR /&gt;Locale: Canada&lt;BR /&gt;&lt;BR /&gt;The Region does not include the sign at the capture stage. The Field is not set to auto-calculate or calculate flag so there is no formula being used. BP transformation&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Are there any preferred English locale which are more stable than the others?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2022 14:38:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99234#M46817</guid>
      <dc:creator>KaranBhagwani1</dc:creator>
      <dc:date>2022-04-01T14:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to replace brackets</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99235#M46818</link>
      <description>Hi Karan,&lt;BR /&gt;&lt;BR /&gt;If you're not using a formula, then where is the expression you mentioned going? (&lt;SPAN&gt;Expression: IF(EQ(STRCONTAINS(Field_Id,"("),1), STRREPLACE(Field_Id,"(","-"),SELF))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ben</description>
      <pubDate>Fri, 01 Apr 2022 14:50:43 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99235#M46818</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2022-04-01T14:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to replace brackets</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99236#M46819</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Ben,&lt;BR /&gt;&lt;BR /&gt;I meant no formula to calculate this field. Ex: Field_A + Field_B.&lt;BR /&gt;I switched to Text datatype so the value of "(15)" is being read as "{(15)" which is where I am trying to read it as "-15"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 14:53:37 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99236#M46819</guid>
      <dc:creator>KaranBhagwani1</dc:creator>
      <dc:date>2022-04-01T14:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to replace brackets</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99237#M46820</link>
      <description>It's unclear how to proceed without seeing the document and DFD. Are you able to share some screenshots?&lt;BR /&gt;&lt;BR /&gt;Alternatively you maybe entitled to some expert connected time with our professional services team. Please check with your account manager/raise a support request via the portal.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ben&lt;BR /&gt;(I'm on leave next week and will respond to any updates on my return)</description>
      <pubDate>Fri, 01 Apr 2022 15:00:30 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Regex-to-replace-brackets/m-p/99237#M46820</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2022-04-01T15:00:30Z</dc:date>
    </item>
  </channel>
</rss>

