"Shane" wrote
> I have a bunch of strings that looks like this:
>
> 'blahblah_sf1234-sf1238_blahblah'
>
> and I would like to use the re module to parse all the 'sf' parts
> of the string. Each 'sf' needs to be its own string when I am
> through. How do I compile a regular expression that
On Wed, Nov 16, 2005 at 03:09:56PM -0500, Shane wrote:
> Hi folks,
>
> I'm new to regular expressions (and a novice at Python) but it seems to be
> the tool I need for a particular problem. I have a bunch of strings that
> looks like this:
>
> 'blahblah_sf1234-sf1238_blahblah'
>
> and I would
Shane wrote:
> Hi folks,
>
> I'm new to regular expressions (and a novice at Python) but it seems to be
> the tool I need for a particular problem. I have a bunch of strings that
> looks like this:
>
> 'blahblah_sf1234-sf1238_blahblah'
>
> and I would like to use the re module to parse all the 's
Hi folks,
I'm new to regular expressions (and a novice at Python) but it seems to be the
tool I need for a particular problem. I have a bunch of strings that looks like
this:
'blahblah_sf1234-sf1238_blahblah'
and I would like to use the re module to parse all the 'sf' parts of the
string.