Python standard library: Splitting strings with re.split

Published: 19 September 2019
on channel: Python and Pandas with Reuven Lerner
2,525
56

Want to use regular expressions (aka regexp/regex) to split a string into separate fields / pieces? The re.split method is for you — similar to str.split, but more sophisticated.

search for text in Python strings? You'll want the "re" module. In this video, I introduce the three main functions you'll use: re.search, re.match, and re.findall.

I don't teach regular expressions here; if you want to learn them, try my free e-mail course at https://RegexpCrashCourse.com/ .

In addition to these videos, I have an active blog and free, weekly "Better developers" mailing list; see more at https://lerner.co.il/ .

Subscribe to this channel, as I try to go through all of the Python standard library!


On this page of the site you can watch the video online Python standard library: Splitting strings with re.split with a duration of online in good quality, which was uploaded by the user Python and Pandas with Reuven Lerner 19 September 2019, share the link with friends and acquaintances, this video has already been watched 2,525 times on youtube and it was liked by 56 viewers. Enjoy your viewing!