Corrected REGEXP to consider empty section