<?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: Replace a specific value in a field/entire collection with a new value in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58076#M1581</link>
    <description>&lt;SPAN&gt;Hi Vinod,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reaching out to the community. As per your requirement, I have created a separate code on VB .NET only which you can easily use while extending the Utility - Collection Manipulation VBO. Please follow the below steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Create and action called '&lt;STRONG&gt;Find And Replace Value In Collection&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;' with the given input parameters for the action: in_DT (Collection), in_Value To Find (Text) and in_Value To Replace (Text) along with output parameters: out_DT Collection) as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7479.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7653i2B0F6177A10FB0A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="7479.png" alt="7479.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Add the code stage named &lt;STRONG&gt;'Find And Replace Value In Collection'&lt;/STRONG&gt; with the below parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7480.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7655i2F57F47961DD4D74/image-size/large?v=v2&amp;amp;px=999" role="button" title="7480.png" alt="7480.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7481.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7657i84DE016563E604F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="7481.png" alt="7481.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) In the Code tab insert the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;For Each Row As DataRow In in_DT.Rows

	For Each Column As DataColumn In in_DT.Columns

		If (Row(Column.ColumnName).Contains(in_ValueToFind)) Then

			Row(Column.ColumnName) = Row(Column.ColumnName).ToString.Replace(in_ValueToFind,in_ValueToReplace)

		End If

	Next
	
Next

out_DT = in_DT​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7482.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7659iD37D1A89DA702B6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="7482.png" alt="7482.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Test Results:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Inputs:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7483.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7658iDB0644EDF7661884/image-size/large?v=v2&amp;amp;px=999" role="button" title="7483.png" alt="7483.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7484.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7656iEA1D3E68D4211AC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="7484.png" alt="7484.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7485.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7660i607C27A808902F73/image-size/large?v=v2&amp;amp;px=999" role="button" title="7485.png" alt="7485.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;NOTE: If you want to execute the second condition, just pass the value for in_Value To Replace as "" (Blank)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps you out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Devneet Mohanty&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Intelligent Automation Consultant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blueprism 6x Certified Professional&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Website:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://devneet.github.io/" target="_blank" rel="noopener"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Email:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:devneetmohanty07@gmail.com" target="_blank" rel="noopener"&gt;devneetmohanty07@gmail.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 19 May 2022 06:20:00 GMT</pubDate>
    <dc:creator>devneetmohanty07</dc:creator>
    <dc:date>2022-05-19T06:20:00Z</dc:date>
    <item>
      <title>Replace a specific value in a field/entire collection with a new value</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58075#M1580</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a scenario where I have to Replace a specific text in a column/entire collection with a new value.&lt;BR /&gt;Now I have implemented using Decision stage(finding specific value using InStr func) then Calculation stage(using Replace fun). Do we have any action or code for this requirement.&lt;BR /&gt;&lt;BR /&gt;Let me give an example&lt;BR /&gt;&lt;STRONG&gt;Input Collection&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FieldA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FiledB&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;FiledC&lt;/STRONG&gt;&lt;BR /&gt;BP community&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vinod&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; ABC&lt;BR /&gt;XYZ&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; DX BP&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;123&lt;BR /&gt;NY BP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AB1&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; vinod&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Scenario 1: Condition :&lt;/STRONG&gt; Replace Text "BP" with "Blueprism"&lt;BR /&gt;&lt;STRONG&gt;Required Output Collection&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FieldA&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; FiledB&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;FiledC&lt;/STRONG&gt;&lt;BR /&gt;Blueprism community&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vinod&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; ABC&lt;BR /&gt;XYZ&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; DX Blueprism&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123&lt;BR /&gt;NY Blueprism&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;AB1&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;vinod&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Scenario 2: Condition :&lt;/STRONG&gt; Replace Text "BP" with "" or Remove Text "BP"&lt;BR /&gt;&lt;STRONG&gt;Required Output Collection&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FieldA&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; FiledB&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;FiledC&lt;/STRONG&gt;&lt;BR /&gt;community&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vinod&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; ABC&lt;BR /&gt;XYZ&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; DX&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;123&lt;BR /&gt;NY&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;AB1&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;vinod&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vinod chinthakindi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 05:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58075#M1580</guid>
      <dc:creator>vinodchinthakin</dc:creator>
      <dc:date>2022-05-19T05:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Replace a specific value in a field/entire collection with a new value</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58076#M1581</link>
      <description>&lt;SPAN&gt;Hi Vinod,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reaching out to the community. As per your requirement, I have created a separate code on VB .NET only which you can easily use while extending the Utility - Collection Manipulation VBO. Please follow the below steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Create and action called '&lt;STRONG&gt;Find And Replace Value In Collection&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;' with the given input parameters for the action: in_DT (Collection), in_Value To Find (Text) and in_Value To Replace (Text) along with output parameters: out_DT Collection) as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7479.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7653i2B0F6177A10FB0A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="7479.png" alt="7479.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Add the code stage named &lt;STRONG&gt;'Find And Replace Value In Collection'&lt;/STRONG&gt; with the below parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7480.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7655i2F57F47961DD4D74/image-size/large?v=v2&amp;amp;px=999" role="button" title="7480.png" alt="7480.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7481.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7657i84DE016563E604F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="7481.png" alt="7481.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) In the Code tab insert the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;For Each Row As DataRow In in_DT.Rows

	For Each Column As DataColumn In in_DT.Columns

		If (Row(Column.ColumnName).Contains(in_ValueToFind)) Then

			Row(Column.ColumnName) = Row(Column.ColumnName).ToString.Replace(in_ValueToFind,in_ValueToReplace)

		End If

	Next
	
Next

out_DT = in_DT​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7482.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7659iD37D1A89DA702B6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="7482.png" alt="7482.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Test Results:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Inputs:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7483.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7658iDB0644EDF7661884/image-size/large?v=v2&amp;amp;px=999" role="button" title="7483.png" alt="7483.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7484.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7656iEA1D3E68D4211AC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="7484.png" alt="7484.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7485.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7660i607C27A808902F73/image-size/large?v=v2&amp;amp;px=999" role="button" title="7485.png" alt="7485.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;NOTE: If you want to execute the second condition, just pass the value for in_Value To Replace as "" (Blank)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps you out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Devneet Mohanty&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Intelligent Automation Consultant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blueprism 6x Certified Professional&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Website:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://devneet.github.io/" target="_blank" rel="noopener"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Email:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:devneetmohanty07@gmail.com" target="_blank" rel="noopener"&gt;devneetmohanty07@gmail.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 06:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58076#M1581</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-19T06:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Replace a specific value in a field/entire collection with a new value</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58077#M1582</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1843"&gt;@devneetmohanty07&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;Your code works Perfect​!&lt;BR /&gt;And I have replaced ​"Column.ColumnName" with "Field_Name" with an additional input parameter. so that it creates another action &lt;STRONG&gt;&lt;STRONG&gt;Find And Replace Value In a specific field of a Collection' &lt;/STRONG&gt;&lt;/STRONG&gt;And it also works perfect!&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;
&lt;PRE class="language-vbnet" tabindex="0"&gt;&lt;CODE&gt;For Each Row As DataRow In in_DT.Rows

	For Each Column As DataColumn In in_DT.Columns

		If (Row(Field_Name).Contains(in_ValueToFind)) Then

			Row(Field_Name) = Row(Field_Name).ToString.Replace(in_ValueToFind,in_ValueToReplace)

		End If

	Next
	
Next

out_DT = in_DT​&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vinod chinthakindi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 07:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58077#M1582</guid>
      <dc:creator>vinodchinthakin</dc:creator>
      <dc:date>2022-05-19T07:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Replace a specific value in a field/entire collection with a new value</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58078#M1583</link>
      <description>Glad to know that &lt;A class="user-content-mention" data-sign="@" data-contactkey="cdcbb58e-c324-4e05-b305-48fb798e17be" data-tag-text="@vinod chinthakindi" href="https://community.blueprism.com/network/profile?UserKey=cdcbb58e-c324-4e05-b305-48fb798e17be" data-itemmentionkey="b971a941-a708-4416-b88d-822eb24ea61b"&gt;@vinod chinthakindi&lt;/A&gt;. Actually in your example, I can see that you gave the keyword BP in two different fields:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7502.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7674iF975097FB7FC20A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="7502.png" alt="7502.png" /&gt;&lt;/span&gt;&lt;BR /&gt;So, I was not sure if you required a column specific operation or not. but glad to see you being able to modify it as well :)​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 07:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Replace-a-specific-value-in-a-field-entire-collection-with-a-new/m-p/58078#M1583</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-19T07:19:00Z</dc:date>
    </item>
  </channel>
</rss>

