Split Python string with MULTIPLE delimiters 🐍 #short #python

preview_player
Показать описание
In this short Python video, I'm going to show you how to split a string with MULTIPLE delimiters. You will want to use regex which can be scary at first. Make the regex expression by putting r in front of string. Use square brackets to match on any character you put between. Then add \s* to remove white space (optional).
Рекомендации по теме