Thanks for reply. It is clear now. I also found that when I use like that I have problems with Unicode chars.
I just changed it like <CFSET initial_content = REReplace(attributes.html, "[^#chr(32)#-#chr(65535)#]", " " , "All")> and it works without any problem with also Unicode chars. -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:41 AM To: CF-Talk Subject: RE: Code analyze If you're asking what that line of code does, it replaces all characters outside of the ascii range 32 - 255 with a space. So from a space(32) to a �(255). If you want to see all the characters that it will not match run this code. <cfoutput> <cfloop from="32" to="255" index="i"> i: #Chr(i)#<br /> </cfloop> </cfoutput> Ade -----Original Message----- From: Tarantor [mailto:[EMAIL PROTECTED] Sent: 20 February 2005 23:01 To: CF-Talk Subject: Code analyze Hi, Can anybody guess what makes this code? <CFSET initial_content = REReplace(attributes.html, "[^#chr(32)#-#chr(255)#]", " " , "All")> TIA! Best regards, O�uz Demirkap� http://demirkapi.net <http://demirkapi.net/> -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 18/02/2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195698 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

