Guest User

Untitled

a guest
Dec 15th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. >>> re.findall(r"Ref.? ?(([A-Zd.]+)|([d.]+))", text_total)
  2.  
  3. [('116519LN', '116519LN', '')]
  4.  
  5. [x for x in re.findall(r"Ref.? ?(([A-Zd.]+)|([d.]+))", text_total)][0]
Add Comment
Please, Sign In to add comment