I am trying to match 2 sets of pattern from text input. From the below example, can I extract numbers which has any of the following character set mg/mcg/ml/g
Meropenem Hospira Powder for Injection (10 Vial of 20 ml) 500mg should match 20 ml and 500mg.
My regex ([\d+\.+\d+]+(mg|g|mcg|ml|)+)+ matches 10 , 20 ml , 500mg
\d+(?:\.\d+)?(?=\s*(?:m?g|mcg|ml)\b)?\d+(?:\.\d+)?(?=\s*(m?g|mcg|ml)\b)or(\d+(?:\.\d+)?)\s*(m?g|mcg|ml)\b