PHP code snippet – How to filter the all special characters in cake from an array? Subash Chandran 25th November 2021 Leave a Comment cleaned = preg_replace("/[^{$allow}a-zA-Z0-9]/", '', $string); Curly hair, very fair, please share 🙂Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Related See also PHP code snippet - How to add custom meta field in custom post type? Snippets how to filter the all special characters in cakephp from an array, how to parse special characters in cakephp in angular Change font size A Decrease font size. A Reset font size. A Increase font size.