Button click/dropdown select business logic, replacing URLs in strings with HTML links