newby question: Splitting a string - separator

Jim mrmaple at gmail.com
Thu Dec 8 14:28:18 EST 2005


Hi Tom,

> a regex for "more than one whitespace". RegEx for whitespace is \s, but
> what would i use for "more than one"? \s+?

For more than one, I'd use

  \s\s+

-Jim




More information about the Python-list mailing list