Improved some name regex logic and moved getNameFromLink(input, link) to server.js