Skip to content

PHP code snippet – How to filter the all special characters in cake from an array?

cleaned = preg_replace("/[^{$allow}a-zA-Z0-9]/", '', $string);
See also  How to collect objective in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.