This function extracts the thread id from a reddit thread url.
getRedditUrlThreadId(url)
url
Character string. Reddit thread url.
Reddit thread id as character string.