I have a series of documents that can have this format:
Diagnosis of one of the following: A) Neovascular (wet) age-related
macular degeneration OR B) Macular edema following retinal vein
occlusion, OR C) Diabetic macular edema OR D) Diabetic retinopathy in
patients with diabetic macular edema. More text here.
PA Criteria
Criteria Details
Eylea (s)
Products Affected
EYLEA
Exclusion
Criteria
Required
Medical
Information
Age Restrictions
Prescriber
Restrictions
Coverage
Duration
Other Criteria
Off Label Uses
12 months
Indications
All Medically-accepted Indications.
Formulary ID 20276, Version 12
101
I would like to match (and then remove) all text that is in a paragraph ending with a period. So, I would like to remove
Diagnosis of one of the following: A) Neovascular (wet) age-related
macular degeneration OR B) Macular edema following retinal vein
occlusion, OR C) Diabetic macular edema OR D) Diabetic retinopathy in
patients with diabetic macular edema.
and
All Medically-accepted Indications.
I've tried something like this:
\n\n[\s\S]*?[.][\n\n]
but I would somehow need to say that \n\n CANNOT exist in the capture of
[\s\S]*?
How would I do this?
Thanks!