<?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 How to remove smileys/emojis from a string? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251655#M35544</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have problem loading data from salesforce to mysql database. My data looks like below:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Data:&amp;nbsp; Hey, Please can this one be updated our side? &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;I have created a simple one-to-one mapping. Tsalesforce input and tdboutput.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to replace the smiley/emoji present in the string with a blank space. I am currently using tjavarow but it is not working. Any help on this will be really appreciated.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:38:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T06:38:42Z</dc:date>
    <item>
      <title>How to remove smileys/emojis from a string?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251655#M35544</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have problem loading data from salesforce to mysql database. My data looks like below:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Data:&amp;nbsp; Hey, Please can this one be updated our side? &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;I have created a simple one-to-one mapping. Tsalesforce input and tdboutput.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to replace the smiley/emoji present in the string with a blank space. I am currently using tjavarow but it is not working. Any help on this will be really appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251655#M35544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove smileys/emojis from a string?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251656#M35545</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please try below method.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M30C.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132164i888DBAAF7E6C291F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M30C.png" alt="0683p000009M30C.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 994px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2tW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130639i84910FA2874100E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2tW.png" alt="0683p000009M2tW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M30H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148207i28A25FC3A4A283C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M30H.png" alt="0683p000009M30H.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You need to use the below value for context variable.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"[^\\p{L}\\p{M}\\p{N}\\p{P}\\p{Z}\\p{Cf}\\p{Cs}\\s]"&lt;/PRE&gt; 
&lt;P&gt;The function used in tMap is as below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row1.input.replaceAll(context.characterfilter,"")&lt;/PRE&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 09:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251656#M35545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-08T09:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove smileys/emojis from a string?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251657#M35546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOuaAAG"&gt;@ikan&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Could you please mark the topic as resolved since I have answered your query?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Marking a query promptly will help others in Talend community when they are looking solutions for similar queries.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;It is also a way of telling thank you to the contributor for spending their time for your query in between their routine work.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 06:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251657#M35546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T06:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove smileys/emojis from a string?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251658#M35547</link>
      <description>Hi Nikhil,
&lt;BR /&gt;
&lt;BR /&gt;Thanks for your help.
&lt;BR /&gt;But I still get error while loading data. All the smileys are not replaced.
&lt;BR /&gt;Could you check my previous message and help please.
&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2019 01:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251658#M35547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-12T01:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove smileys/emojis from a string?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251659#M35548</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please try below value to the context variable?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"[\\ud83c\\udc00-\\ud83c\\udfff]|[\\ud83d\\udc00-\\ud83d\\udfff]|[\\u2600-\\u27ff]"&lt;/PRE&gt; 
&lt;P&gt;Please refer the details in below link. You may have to add additional regular expressions based on your emoji if this is also not clearing the emoji.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/44620294/removing-special-character-from-java-string" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/44620294/removing-special-character-from-java-string&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 02:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-smileys-emojis-from-a-string/m-p/2251659#M35548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-12T02:05:37Z</dc:date>
    </item>
  </channel>
</rss>

