<?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 Problem with Regex-Expression in Code Stage in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Problem-with-Regex-Expression-in-Code-Stage/m-p/65488#M18093</link>
    <description>Hello,

I have the following problem, I want to get the Name from a person in a PDF-Invoice. For that I use the function

InSTR([Clipboard]; "Name: ")&amp;nbsp;to find the place of the word and

the second function is Mid([Clipboard],[Name],50).

The length of the name is unique so&amp;nbsp;I get different length of names and the words that I dont need after the name.&amp;nbsp;

I would be happy to get some suggestions.

&amp;nbsp;

Thanks!</description>
    <pubDate>Tue, 19 Jun 2018 14:37:00 GMT</pubDate>
    <dc:creator>StephanSaar</dc:creator>
    <dc:date>2018-06-19T14:37:00Z</dc:date>
    <item>
      <title>Problem with Regex-Expression in Code Stage</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-with-Regex-Expression-in-Code-Stage/m-p/65488#M18093</link>
      <description>Hello,

I have the following problem, I want to get the Name from a person in a PDF-Invoice. For that I use the function

InSTR([Clipboard]; "Name: ")&amp;nbsp;to find the place of the word and

the second function is Mid([Clipboard],[Name],50).

The length of the name is unique so&amp;nbsp;I get different length of names and the words that I dont need after the name.&amp;nbsp;

I would be happy to get some suggestions.

&amp;nbsp;

Thanks!</description>
      <pubDate>Tue, 19 Jun 2018 14:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-with-Regex-Expression-in-Code-Stage/m-p/65488#M18093</guid>
      <dc:creator>StephanSaar</dc:creator>
      <dc:date>2018-06-19T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Look for space and do it…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-with-Regex-Expression-in-Code-Stage/m-p/65489#M18094</link>
      <description>Look for space and do it again, just leave first word... something like:
Left(Mid([Clipboard];[Name]+6;50);Instr(Mid([Clipboard];[Name]+6;50);"" ""))
Or just one calc (+6 to strip ""Name:"" too):
Left(Mid([Clipboard];InStr([Clipboard];""Name: "")+6;50);InStr(Mid([Clipboard];InStr([Clipboard];""Name: "")+6;50);"" ""))</description>
      <pubDate>Tue, 26 Jun 2018 00:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-with-Regex-Expression-in-Code-Stage/m-p/65489#M18094</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-06-26T00:22:00Z</dc:date>
    </item>
  </channel>
</rss>

