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 from the following string the i386 (The text between the last - and .iso):
/xubuntu/daily/current/lucid-alternate-i386.iso
This should also work in case of:
/xubuntu/daily/current/lucid-alternate-amd64.iso
And the result should be either i386 or amd64 given the case.
Thanks a lot for your help.