Advertisement
go6odn28

5_emoticon_finder

Mar 26th, 2024
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. import re
  2.  
  3. text = input()
  4. pattern = r"(?<=:)."
  5.  
  6. matches = re.findall(pattern, text)
  7. for match in matches:
  8.     print(f":{match}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement