Split a sentence by punctuations using Python

midtoad stewart at midtoad.homelinux.org
Fri Mar 5 22:33:14 EST 2004


chad wrote:

> I want to split sentences by using punctuations, numeric numbers as
> the delimiters.
> 
> You know, string.split does not work for this objective.  So how can i
> achieve this?  Thanks.

check out kodos on sourceforge.  It's a small GUI that allows you to
interactively try out regexp expressions and see the results as you type. 
very handy!

Stewart




More information about the Python-list mailing list