<?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 replace expression in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/replace-expression-in-tMap/m-p/2318252#M88613</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Beginner alert!&lt;/P&gt;&lt;P&gt;I am having trouble replacing two items of text in the tMap expression editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can replace the text: /Published/ with nothing using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in.ReportPath.replace("/Published/","")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I also want to replace more text in the same column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;/University/Pub/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I add the text: /University/Pub/ into: in.ReportPath.replace("/Published/","") so both /Published/ &amp;amp; /University/Pub/ gets replaced with nothing (removing the text from column)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 16:01:02 GMT</pubDate>
    <dc:creator>CSmith1605109986</dc:creator>
    <dc:date>2021-01-12T16:01:02Z</dc:date>
    <item>
      <title>replace expression in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-expression-in-tMap/m-p/2318252#M88613</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Beginner alert!&lt;/P&gt;&lt;P&gt;I am having trouble replacing two items of text in the tMap expression editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can replace the text: /Published/ with nothing using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in.ReportPath.replace("/Published/","")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I also want to replace more text in the same column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;/University/Pub/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I add the text: /University/Pub/ into: in.ReportPath.replace("/Published/","") so both /Published/ &amp;amp; /University/Pub/ gets replaced with nothing (removing the text from column)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 16:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-expression-in-tMap/m-p/2318252#M88613</guid>
      <dc:creator>CSmith1605109986</dc:creator>
      <dc:date>2021-01-12T16:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: replace expression in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-expression-in-tMap/m-p/2318253#M88614</link>
      <description>&lt;P&gt;use replaceAll to catch multiple conditions.  Something like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ReportPath.replaceAll("/Published/|/University/|/Pub/","")&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 19:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-expression-in-tMap/m-p/2318253#M88614</guid>
      <dc:creator>evansdar</dc:creator>
      <dc:date>2021-01-12T19:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: replace expression in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/replace-expression-in-tMap/m-p/2318254#M88615</link>
      <description>&lt;P&gt;Thanks, that works great.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 08:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/replace-expression-in-tMap/m-p/2318254#M88615</guid>
      <dc:creator>CSmith1605109986</dc:creator>
      <dc:date>2021-01-13T08:17:19Z</dc:date>
    </item>
  </channel>
</rss>

