in reply to Re: Regular Expression to find Word Prefixes
in thread Regular Expression to find Word Prefixes

$chem = reverse $_; $chem =~ s/^\S+//; $chem = reverse $chem; print $chem . "\n";

How about

($chem) = $chem =~ /(.*)\s/

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.