S
Springman
I have a list of [Drug_name] records as follows:
Lipitor tab 20 mg
Tylenol cap 500 mg
I would like to extract text to the left of the the words "cap" or "tab" or
if "cap" or "tab" is not in the string I'd like the record to remain
unchanged.
Any help would be appreciated.
Lipitor tab 20 mg
Tylenol cap 500 mg
I would like to extract text to the left of the the words "cap" or "tab" or
if "cap" or "tab" is not in the string I'd like the record to remain
unchanged.
Any help would be appreciated.