[A-Za-z0-9.]{5,}\/?(\?(\w+=\w+&?)*)?
The regex matches with URL's that start with letters and numbers, then followed by at least 5 characters containing letters, numbers and dots(.), then end with an optional slash(/) and optional parameters in the URL.