Skip to content

Instantly share code, notes, and snippets.

@Steboss89
Created April 12, 2022 15:19
Show Gist options
  • Save Steboss89/d0206b3d6d6d1818b044e2ab40027733 to your computer and use it in GitHub Desktop.
Save Steboss89/d0206b3d6d6d1818b044e2ab40027733 to your computer and use it in GitHub Desktop.
Second approach, use regex
test_text = "this is a string with one number and then twenty thousand numbers and three thousand thirty four and three thousand five hundred forty five numbers"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment