Cleanse text inputs of urls/links and social tags

Anyone know of a service which can identify and strip or flag text of links/social tags? I would like to prevent customers from submitting text containing URLs or social usernames etc.