Back to Browse

Python standard library: Splitting strings with re.split

2.5K views
Sep 19, 2019
3:54

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!

Download

1 formats

Video Formats

360pmp45.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Python standard library: Splitting strings with re.split | NatokHD