Test, validate and match regular expressions
This regular expression matches various Spanish medical terms for liver failure or hepatic insufficiency, including 'insuficiencia hepática', 'fallo hepático', 'descompensación hepática', and 'disfunción hepática'. It accommodates missing accents, flexible spacing, and slight variations in phrasing. It is ideal for extracting clinical conditions from electronic health records (EHR) or medical texts in Spanish.