Split Python string with MULTIPLE delimiters 🐍

Published: 05 February 2023
on channel: ModernPython
582
21

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).


On this page of the site you can watch the video online Split Python string with MULTIPLE delimiters 🐍 with a duration of hours minute second in good quality, which was uploaded by the user ModernPython 05 February 2023, share the link with friends and acquaintances, this video has already been watched 582 times on youtube and it was liked by 21 viewers. Enjoy your viewing!