in reply to RegEx help
Your question implies that each version number will start with V, but we don't know what else it will contain, only that it will end with >>, or possibly a semi-colon to start another version attribute. Given that all that is true, this RE should work:
/<<.*BOOTR: V(.+)?(?:;|>>)/; print $1;
This will explicitly look for the BOOTR attribute, and stop at the first ; or >>.
|
|---|