Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

re.split

import re

text = "python is, an easy;language; to, learn."
print(re.split("[;,] ", text))
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+3 =