Updated the RegEx for link detection. Also ordered queried posts