SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'Medicine Treatment:     Not applicable'
  2.      
  3. (?<=Medicine Treatment:)[^s].*
  4.      
  5. import re
  6. s = 'Medicine Treatment:     Not applicable'
  7. m = re.search(r'Medicine Treatment:s*(.*)', s)
  8. if m:
  9.     print(m.group(1)) # => Not applicable
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top