I have some text in a field like below;
Confirmed Diagnosis
================
Stroke || Entered: 19-02-2019 01:36:39 || Notes:
Suspected Diagnosis
================
Transient ischaemic attack || Notes: Identified
I would like to extract any text after Confirmed Diagnosis ================
into a new field, and any text after Suspected Diagnosis ================
into another field.
Thank you all.
Best Answer
For a SQL solution, try something like this. It sounded like the section of text you wanted.
Results were
and
If your results are different then you got some extra characters in your string that I do not have in mine.
I may have written it, but I have no idea how it works, logic dictates I'd need to reverse() it one more time to get the right value, but hey, who am I to argue with a working script, tested on 2014, 2017 and 2017 on centos