The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Help with perl scripting on strings
.
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
:
Help with perl scripting on strings
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
04-29-2008
cbkihong
Advisor
Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
This is one of the ways:
Code:
if ($string =~ /'([^']*)'/) { print $1; }
cbkihong
View Public Profile
Visit cbkihong's homepage!
Find all posts by cbkihong
Find cbkihong's past nominations received
Find cbkihong's present nominations given