Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- string = "$224"
- print(re.match("[^\$]+", string)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement