<?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 The Replace function expects in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-pattern-in-replace-function/m-p/59538#M13164</link>
    <description>The Replace function expects literal values, not wildcards or regex patterns, eg Replace(""Anything"", ""Any"", ""Some"") = ""Something""
You could try combining the Mid and InStr functions, eg Mid([MyText], InStr([MyText], ""$"") + 1, Len([MyText]))
If you want to use a regular expression then you'll need to use a code stage.</description>
    <pubDate>Tue, 14 Nov 2017 13:47:00 GMT</pubDate>
    <dc:creator>John__Carter</dc:creator>
    <dc:date>2017-11-14T13:47:00Z</dc:date>
    <item>
      <title>How to use pattern in replace function?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-pattern-in-replace-function/m-p/59537#M13163</link>
      <description>I capture a Text from command line output,I need replace all characters after '$',I tried following ways,but both not work.
Replace([output], "\$.*", "\$")
Replace([output], "\\$.*", "\\$")

Can we use regular expression in the replace function? how to use? Thanks</description>
      <pubDate>Tue, 14 Nov 2017 12:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-pattern-in-replace-function/m-p/59537#M13163</guid>
      <dc:creator>JunTan</dc:creator>
      <dc:date>2017-11-14T12:14:00Z</dc:date>
    </item>
    <item>
      <title>The Replace function expects</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-pattern-in-replace-function/m-p/59538#M13164</link>
      <description>The Replace function expects literal values, not wildcards or regex patterns, eg Replace(""Anything"", ""Any"", ""Some"") = ""Something""
You could try combining the Mid and InStr functions, eg Mid([MyText], InStr([MyText], ""$"") + 1, Len([MyText]))
If you want to use a regular expression then you'll need to use a code stage.</description>
      <pubDate>Tue, 14 Nov 2017 13:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-pattern-in-replace-function/m-p/59538#M13164</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2017-11-14T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Thanks</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-pattern-in-replace-function/m-p/59539#M13165</link>
      <description>Thanks</description>
      <pubDate>Wed, 15 Nov 2017 14:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-pattern-in-replace-function/m-p/59539#M13165</guid>
      <dc:creator>JunTan</dc:creator>
      <dc:date>2017-11-15T14:27:00Z</dc:date>
    </item>
  </channel>
</rss>

