Re: python replace/sub/wildcard/regex issue

2010-01-19 Thread dippim
On Jan 18, 11:04 pm, tom wrote: > hi... > > trying to figure out how to solve what should be an easy python/regex/ > wildcard/replace issue. > > i've tried a number of different approaches.. so i must be missing > something... > > my initial sample text are: > > Soo ChoiLONGEDITBOX">Apryl Berney >

Re: python replace/sub/wildcard/regex issue

2010-01-18 Thread Chris Rebert
On Mon, Jan 18, 2010 at 8:31 PM, Chris Rebert wrote: > On Mon, Jan 18, 2010 at 8:04 PM, tom wrote: >> hi... >> >> trying to figure out how to solve what should be an easy python/regex/ >> wildcard/replace issue. >> >> i've tried a number of different approaches.. so i must be missing >> something

RE: python replace/sub/wildcard/regex issue

2010-01-18 Thread tom
d what would line be? thanks -Original Message- From: python-list-bounces+bedouglas=earthlink@python.org [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf Of Chris Rebert Sent: Monday, January 18, 2010 8:32 PM To: tom Cc: python-list@python.org Subject: Re: python re

Re: python replace/sub/wildcard/regex issue

2010-01-18 Thread alex23
On Jan 19, 2:04 pm, tom wrote: > trying to figure out how to solve what should be an easy python/regex/ > wildcard/replace issue. > but i'm missing something... Well, some would say you've missed the most obvious solution of _not_ using regexps :) I'd probably do it via string methods wrapped up

Re: python replace/sub/wildcard/regex issue

2010-01-18 Thread Chris Rebert
On Mon, Jan 18, 2010 at 8:04 PM, tom wrote: > hi... > > trying to figure out how to solve what should be an easy python/regex/ > wildcard/replace issue. > > i've tried a number of different approaches.. so i must be missing > something... > > my initial sample text are: > > Soo ChoiLONGEDITBOX">Ap