Fixed regex when lists have spaces between items