I have a requirement to remove all the spaces in the String for the URI. For all the URI\'s present in a string ie; starting with https:// or http://, remove all the invalid spa