I have problem with external links, where users add additional characters to the end of a variable. The links should be something like "page.asp?ID=261", however I see many external links to the page with malformed additional characters, like "page.asp?ID=261FTR223". These are mostly from social networking sites.
I need to clean this up as it rresults in page errors and the variable contains both numeric and alpha, where it should only be numeric. I also only want the first set of numeric values and the rest of the variable needs to be removed.
Any help with this will be appreciated and this is resulting in way too many server errors.