regex match, match with an preceding option
var matchCode = codigo.match(/(?codigo de lista:)([\d|,]{2,})/); //obtener el codigo.
var codigo = matchCode[1];
//Two or more digits
var matchNumber = m2.match(/([\d|,]){2,}/); //obtener el digito.
//matchNumber[0]