Extract regexp