Guest User

Untitled

a guest
Feb 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import re
  2.  
  3. cadena = "Fitoria: @hask yo debería de haberme dormido también hace como hora y media :P"
  4. patron = re.compile('[A-Za-z0-9]+:')
  5. nombre = patron.findall(cadena)
  6.  
  7. print nombre[0]
Add Comment
Please, Sign In to add comment