How to filter text from url

This is method in CakePHP. you can use in anywhere .You can pass anything in $array and filter from url or any sentence.

I have given example for filter the www com http https from url

Note : you can use this method in any language or framework.

Share This:

Leave a Reply

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