Extract regexp and separator into constants