<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to escape special chars - (for example, / \ ; : &amp;quot; | ? &amp;#39; &amp;lt; &amp;gt; * ).</title><link>https://community.appian.com/discussions/f/general/40530/how-to-escape-special-chars---for-example</link><description>Example - 
 Validation: Filename cannot contain special characters (for example, / \ ; : &amp;quot; | ? &amp;#39; &amp;lt; &amp;gt; * ). 
 
 Expression evaluation error: Syntax error. Details: Expression evaluation error : Invalid character found in expression: |</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to escape special chars - (for example, / \ ; : " | ? ' &lt; &gt; * ).</title><link>https://community.appian.com/thread/155035?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2026 15:02:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:95863d27-cd8d-4e3a-a1e2-69d355067e55</guid><dc:creator>ravib950399</dc:creator><description>&lt;p&gt;that did not work - need to show the validation message on the screen for fileupload component&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;a!fileUploadField(&lt;br /&gt; label: &amp;quot;Upload File&amp;quot;,&lt;br /&gt; target: cons!FOLDER_CONSTANT,&lt;br /&gt; value: ri!uploadedFile,&lt;br /&gt; saveInto: ri!uploadedFile,&lt;/p&gt;
&lt;p&gt;validations: if(&lt;br /&gt; and(&lt;br /&gt; not(isnull(ri!document)),&lt;br /&gt; length(stripwith(ri!document.name, &amp;quot;\ / ; : &amp;quot;&amp;quot; | ? &amp;#39; &amp;lt; &amp;gt; *&amp;quot;)) &amp;lt;&amp;gt; length(ri!document.name)&lt;br /&gt; ),&lt;br /&gt;&amp;quot;Filename cannot contain special characters (for example, / \ ; : &amp;quot; | ? &amp;#39; &amp;lt; &amp;gt; * ).&amp;quot; &lt;br /&gt;null&lt;br /&gt;)&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to escape special chars - (for example, / \ ; : " | ? ' &lt; &gt; * ).</title><link>https://community.appian.com/thread/155034?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2026 14:51:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2057e667-100b-4d1f-a464-cdb67874a37a</guid><dc:creator>osanchea</dc:creator><description>&lt;p&gt;Hi. Refer the code below:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  a!isNullOrEmpty(ri!input),
  null,
  regexreplaceall(
    pattern: &amp;quot;[\\/;:&amp;quot;&amp;quot;|?&amp;#39;&amp;lt;&amp;gt;*\]\[]&amp;quot;,
    searchString: trim(ri!input),
    replacementString: &amp;quot;&amp;quot;
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>