<?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: How to get the double quotes from the description field, which was in double quote text enclosure in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347009#M114335</link>
    <description>&lt;P&gt;StringUtils.replaceAll((your string),"(?&amp;lt;!\\|)\"(?!\\|)","\\\\\"") will replace all double quote not precedeed by | and not folowed by | with \"&lt;/P&gt;&lt;P&gt;it will work if the first and last field of your row are not enclosed with "&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 07:52:59 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2021-06-07T07:52:59Z</dc:date>
    <item>
      <title>How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347003#M114329</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I've a file which was pipe | delimiter and text are enclosed with the double quotes. One of my incoming field has double quotes in data (For Example "XCFDGHJ "A" updated") . The expected output for me was &lt;/P&gt;&lt;P&gt;XCFDGHJ "A" updated&lt;/P&gt;&lt;P&gt;But in Talend I was getting as XCFDGHJ&lt;/P&gt;&lt;P&gt;Can you please help me on how to &lt;/P&gt;&lt;P&gt;achieve this requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't disable the csv option in tFileInputDelimiter as I might get | pipeline also in the description field.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 04:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347003#M114329</guid>
      <dc:creator>bc3</dc:creator>
      <dc:date>2021-06-07T04:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347004#M114330</link>
      <description>&lt;P&gt;Hi , if pipe is a field delimiter you can clean your file before :&lt;/P&gt;&lt;P&gt;Read it with a fileInputRaw as a unique string &lt;/P&gt;&lt;P&gt;then in a t javarow or a tmap : (your string).replaceAll("\\"","")&lt;/P&gt;&lt;P&gt;then you write it in a fileoutputRaw&lt;/P&gt;&lt;P&gt;finally you can read the cleansed file.&lt;/P&gt;&lt;P&gt;Send me Love and Kudos&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 06:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347004#M114330</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-06-07T06:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347005#M114331</link>
      <description>&lt;P&gt;I think this code will replace all double quotes, bc want to keep the double quotes around "A".&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 07:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347005#M114331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-07T07:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347006#M114332</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;With CSV option, you have to contain escape char in source file. eg:&lt;/P&gt;&lt;P&gt;"XCFDGHJ\"A\"updated"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 07:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347006#M114332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-07T07:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347007#M114333</link>
      <description>&lt;P&gt;Thanks for your answer! &lt;/P&gt;&lt;P&gt;While using row7.content.replaceAll("\\"","") getting error "String literal is not properly closed by a double-quote"&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 07:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347007#M114333</guid>
      <dc:creator>bc3</dc:creator>
      <dc:date>2021-06-07T07:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347008#M114334</link>
      <description>&lt;P&gt;my fault :&lt;/P&gt;&lt;P&gt;row7.content.replaceAll("\"","") &lt;/P&gt;&lt;P&gt;it will replace all the double quote of the document&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 07:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347008#M114334</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-06-07T07:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347009#M114335</link>
      <description>&lt;P&gt;StringUtils.replaceAll((your string),"(?&amp;lt;!\\|)\"(?!\\|)","\\\\\"") will replace all double quote not precedeed by | and not folowed by | with \"&lt;/P&gt;&lt;P&gt;it will work if the first and last field of your row are not enclosed with "&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 07:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347009#M114335</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-06-07T07:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347010#M114336</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;But I can't predict the escape char for each row as it was description field, difficult to get the desired format. Is there any generic format in escape character that will not consider an double quoted data within the enclosed text.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 08:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347010#M114336</guid>
      <dc:creator>bc3</dc:creator>
      <dc:date>2021-06-07T08:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the double quotes from the description field, which was in double quote text enclosure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347011#M114337</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't predict the escape char for each row as it was description field,:&lt;/P&gt;&lt;P&gt;In fact you can predict it :&lt;/P&gt;&lt;P&gt;StringUtils.replaceAll((your string),"(?&amp;lt;!\\||^)\"(?!(\\||$))","\\\\\"") &lt;/P&gt;&lt;P&gt;will work for every double quote inside a field enclosed by double quote &lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 13:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-the-double-quotes-from-the-description-field-which/m-p/2347011#M114337</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-06-10T13:58:33Z</dc:date>
    </item>
  </channel>
</rss>

