Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99219

using re.split function

Newsgroups comp.lang.python
Date 2015-11-21 10:49 -0800
Message-ID <f810df9d-5691-467c-b212-7799dfdbb38d@googlegroups.com> (permalink)
Subject using re.split function
From david burstein <david007killer@gmail.com>

Show all headers | View raw


im pretty new in python and i didnt get how to use the re.split function.
for example if i have a string and i want to split it by two conditions:
first one splitting when " [ " appears second one when "]" appears

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

using re.split function david burstein <david007killer@gmail.com> - 2015-11-21 10:49 -0800
  Re: using re.split function MRAB <python@mrabarnett.plus.com> - 2015-11-21 19:20 +0000

csiph-web