Python standard library: Splitting strings with re.split

Publié le: 19 septembre 2019
sur la chaîne: 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!


Sur cette page du site, vous pouvez voir la vidéo en ligne Python standard library: Splitting strings with re.split durée online en bonne qualité , qui a été Téléchargé par l'utilisateur Python and Pandas with Reuven Lerner 19 septembre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,525 fois et il a aimé 56 téléspectateurs. Bon visionnage!