The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-29-2008
sagarbsa sagarbsa is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 5
Help with perl scripting on strings

Hai,

I have strings as follows.

0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF 'SYS_C0030166' (INDEX (UNIQUE))


1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF 'SYS_C0029845' (INDEX (UNIQUE)


9 INDEX MODE: ANALYZED (RANGE SCAN) OF 'BR_RELATED_PARTY_DETAILS_IDX1' (INDEX)


5 INDEX MODE: ANALYZED (RANGE SCAN) OF 'IM_ASSET_HOLDING_IDX2' (INDEX)


I have to extract what is present inside the single Quotes ie, i have to extract only 'SYS_C0030166', 'SYS_C0029845', 'BR_RELATED_PARTY_DETAILS_IDX1', 'IM_ASSET_HOLDING_IDX2' . I am new to perl. How do I do this in perl?
Thanks in Advance.