Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. import re
  2.  
  3. real_comp = re.compile(r'[0-9]*')
  4. real_comp .search('+123i').group()
  5. Out[7]: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement