<?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: Utility Collection Manipulation Filter Data Syntax in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46773#M2682</link>
    <description>Hi Naveen, &lt;BR /&gt;&lt;BR /&gt;In the expression editor, check out the logic function IsNumber. Using that with a loop should allow you to accomplish this task.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Patrick Aucoin&lt;BR /&gt;Senior Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Aug 2020 19:37:00 GMT</pubDate>
    <dc:creator>PatrickAucoin</dc:creator>
    <dc:date>2020-08-04T19:37:00Z</dc:date>
    <item>
      <title>Utility Collection Manipulation Filter Data Syntax</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46772#M2681</link>
      <description>&lt;DIV style="padding-left: 30px;"&gt;List Items:&lt;BR /&gt;&lt;BR /&gt;123&lt;BR /&gt;B45&lt;BR /&gt;789&lt;BR /&gt;123 &lt;BR /&gt;A45&lt;BR /&gt;456&lt;BR /&gt;&amp;nbsp;I'm having above list items in a collection. Now i have to filter the only numeric values from collection. Can you guys tell me the syntax for utility collection Manipulation Filter data&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Naveen R&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Aug 2020 16:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46772#M2681</guid>
      <dc:creator>NaveenR2</dc:creator>
      <dc:date>2020-08-04T16:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Utility Collection Manipulation Filter Data Syntax</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46773#M2682</link>
      <description>Hi Naveen, &lt;BR /&gt;&lt;BR /&gt;In the expression editor, check out the logic function IsNumber. Using that with a loop should allow you to accomplish this task.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Patrick Aucoin&lt;BR /&gt;Senior Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46773#M2682</guid>
      <dc:creator>PatrickAucoin</dc:creator>
      <dc:date>2020-08-04T19:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: Utility Collection Manipulation Filter Data Syntax</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46774#M2683</link>
      <description>&lt;PRE class="language-markup"&gt;Add input and output
'Will be populated with each cell of column
Dim columnList As List(Of String)
'Setting regex filter
Dim filter As New Regex(regexFilter)

Dim matchList As New List(Of String)

'Every cell in column to list
columnList = (From r In CollectionIn.AsEnumerable() Select r.Field(Of String)(columnName)).ToList()

'Go through each cell
For Each cell As String In columnList
	'Add every match to list
	For Each regexMatch as Match in filter.Matches(cell)
	matchList.Add(regexMatch.Value)
	Next
Next
matchList = matchList.GroupBy(Function(x) x).Select(Function(x) x.First).ToList()

CollectionOut = New DataTable
CollectionOut.Columns.Add("Values", GetType(String))
For Each match As String in MatchList
CollectionOut.Rows.Add(match)
Next&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;loganathan s&lt;BR /&gt;IT Developer&lt;BR /&gt;DXC&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Aug 2020 10:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46774#M2683</guid>
      <dc:creator>loganathan.s</dc:creator>
      <dc:date>2020-08-06T10:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Utility Collection Manipulation Filter Data Syntax</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46775#M2684</link>
      <description>There is some useful information on syntax here Naveen. Once inside a code stage, a BP collection is represented as a .Net datagrid.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.csharp-examples.net/dataview-rowfilter/" target="_blank" rel="noopener"&gt;https://www.csharp-examples.net/dataview-rowfilter/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Aug 2020 07:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Utility-Collection-Manipulation-Filter-Data-Syntax/m-p/46775#M2684</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2020-08-07T07:53:00Z</dc:date>
    </item>
  </channel>
</rss>

