Python matching some characters into a string
Posted
by roaksoax
on Stack Overflow
See other posts from Stack Overflow
or by roaksoax
Published on 2010-05-27T21:59:39Z
Indexed on
2010/05/27
22:01 UTC
Read the original article
Hit count: 198
Hi All
I'm trying to extract/match data from a string using regular expression but I don't seem to get it.
I wan't to extract the highlighted characters from the following string:
/xubuntu/daily/current/lucid-alternate-**i386**.iso
This should also work in case of:
/xubuntu/daily/current/lucid-alternate-**amd64**.iso
Thanks a lot for your help.
© Stack Overflow or respective owner