Net-informations.com
SiteMap  | About    

split() methods of "re" module in Python

The "re" module in Python provides regular expression matching operations similar to those found in Perl. Both patterns and strings to be searched can be Unicode strings as well as 8-bit strings.

split() – uses a regex pattern to split a given string into a list.

example

output









net-informations.com (C) 2017    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.