Finding Symbols And Deleting Text Before And After It
Hello Community,
I am trying to put together a macro that would take the following text below
Q330r1: Control of positive symptoms - Considering the information you just reviewed^ Q330R1 (1)
Q330r2: Tolerability/ side effects - Considering the information you just reviewed^ Q330R2(1)
Q330r3: Durability (ability to control symptoms from one injection to the next) - Considering the information you just reviewed^Q330R3 (1)
Q330r4: Dosing schedule (frequency of dosing – 4 or 6 weeks) - Considering the information you just reviewed^Q330R4 (1)
It would look for the ":" and delete anything to the left of it on that line. Then look for the "-" and delete anything to the right up to the ^. So i would the final product to look like this:
Control of positive symptoms^ Q330R1 (1)
Tolerability/ side effects^ Q330R2(1)
Durability (ability to control symptoms from one injection to the next)^Q330R3 (1)
Dosing schedule (frequency of dosing – 4 or 6 weeks)^Q330R4 (1)
I tried using the recorder but that did not help me and i know how to do simple find and replace macros when it comes to fonts and styles but this one i could not figure out. Any help would be appreciated.
|