Wednesday, 2 October 2013

how to filter hash and other special characters except urls

how to filter hash and other special characters except urls

Is there any way to filter all special characters outside urls if
detecting url in one string?
The problem I am facing now is that I am able to detect if string contains
url or not, but cannot filter special character outside the urls.