perl regex help please

I have no good regex experience -- its all pretty new and confusing to me. I understand some of the VERY basics, but to do what im looking for...is way past me! I have the following text i would like to parse, pulling out the highlighted section everytime.

A couple of quick questions...
1. Is that one line of the file you are parsing? That is, will the => vm-jetmore] be at the end of a single line or does it span multiple lines?
2. Are those numbers always the same? Or do they change?

As for whether it is possible, the answer to that is "yes, very possible".

I should have waited until you answered mitchems questions before jumping in. To clarify the above solution: if the string you test contains only one vm-name then the regex $data =~ /\Q[1.3.6.1.4.1.6876.2.1.1.2.1 =>\E\s*(.+?)\]/; should work for you. If your data file contains more than one vm-name, but no more than one per line you can still retrieve them all by reading and testing one line at a time.

However, if your data contains more than one vm-name and you read all the data into one scalar variable then my regex will find only the first vm-name. In that case, you can add the g flag to the regex and use it in list context, as follows:

Hi everyone!
Is there a function in Perl which is similar to the following
[CODE]getServletContext().getRealPath("/filepathInContext")[/CODE]
which is in Java?
The getRealPath method returns a String …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...