WHEN TEXTING GOES WRONGMAN LOOKING TO BUY AND SELL DRUGS MISTAKENLY TEXTS THE WRONG NUMBER, REACHES MCSO'S NARCOTICS... Posted by Martin County Sheriff's Office on Thursday, September 10, 2015

Ouch. This is an extreme case of when texting goes wrong.A Florida man landed himself in jail when he accidentally texted the wrong number looking to buy and sell drugs. However, that wrong number just happened to belong to the Martin County Sheriff's Office narcotics captain, according to WPTV The Martin County Sheriff's Office posted the fortuitous exchange on Facebook Officials say that William Lamberson was looking for a 'hook up'and thought he was texting his friends."It turns out, Lamberson's misdial connected him to someone who knows all too much about illegal drugs," the law enforcement's Facebook post wrote. "Unbeknownst to Lamberson, he was mistakenly trying to score with the Captain of the Martin County Sheriff's Narcotics Unit."The electronic exchange carried on and the 29-year-old continued to text his 'hook up' for a while and eventually set up a meeting for a cocaine transaction.Lamberson thought he was going to meet the hook up when he arrived to the meeting place on Sept. 1st and sell some cocaine. But the man was in for a rude awakening when he was greeted by narcotics detectives from the Martin County Sheriff's Office instead."It's probably a good time to let Mr. Lamberson know, he had the wrong number", the sheriff's office said.Officials arrested Lamberson and charged him with possession of cocaine and intent to sell.More from AOL.com: