>>>>> "APK" == Akhthar Parvez K <akht...@sysadminguide.com> writes:
APK> Hi Henning, APK> $catch = $1 if ($string =~ /.*(E)\d*\b/); APK> you can use this to test it: APK> $catch = $1 if ($string =~ /.*(E\d*)\b/); he didn't say there will be digits at the end. what if there aren't? his example was just random text following the last E. also please learn to bottom post. people read emails top down. also quote only the needed part and delete extra stuff like signatures. like i just did to the whole email you quoted. thanx, uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/