0

How can I split a string by different symbols including dots?

currency_title = "USD.RUB.EUR"
currency_arr = re.split('&|,|/|and|.',currency_title)

I get many empty substrings why? Please notice that I want to use regex re, not split.

Markus
  • 3,142
  • 10
  • 39
  • 76

0 Answers0