a guest Jul 22nd, 2019 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 'Medicine Treatment: Not applicable'
- (?<=Medicine Treatment:)[^s].*
- import re
- s = 'Medicine Treatment: Not applicable'
- m = re.search(r'Medicine Treatment:s*(.*)', s)
- if m:
- print(m.group(1)) # => Not applicable
RAW Paste Data