"David Samuelsson (PAC)" <[EMAIL PROTECTED]> writes: > more regexps.. > > $_ comes in this form: > > servername:D:\CC_Storage\Views\EUSDNKG_Madeleine_Tae68_view.vws [uuid >74a6b3b0.d1cd11d4.896e.00:b0:d0:83:b4:9b] > > i want $_ to be just the uuid number that is: >74a6b3b0.d1cd11d4.896e.00:b0:d0:83:b4:9b > > how do i get that the easiest way? all $_ are the same they are all within brackets >[text here variables, exept . and :] > > //Dave
' m/\[uuid\s+(.*)\]/; my $uuid = $1; ' Should be sufficient. -RN -- Robin Norwood Red Hat, Inc. "The Sage does nothing, yet nothing remains undone." -Lao Tzu, Te Tao Ching -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]