The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Perl Extract String
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Perl Extract String
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
07-02-2009
zilux
Registered User
Join Date: Apr 2009
Location: netherland
Posts: 2
try this
Code:
my $s = "something is good wanted (bla bla)"; if ( $s =~ /^.*\s(.*)\s\(/ ) { print "$1"; }
Last edited by Yogesh Sawant; 07-05-2009 at
11:18 AM
.. Reason: added code tags
zilux
View Public Profile
Find all posts by zilux
Find zilux's past nominations received
Find zilux's present nominations given