V
Vishal G
Hi there,
I have searched the whole group looking for solution to my problem.
Actually, I dont understand the perl regular expression properly...
working on it...
Here is the problem..
I have string which contain numbers...
$str = "30 574 454 67 59 298928 74 4875 8 934"; # in actual string
there are 112 million values
I would like to extract numveric values from specific position till
some position using regular expression.. I dont want to use split caue
it uses lot of memory..
for example:
offset = 3; length = 4;
so the result string should be $str = "454 67 59 298928";
Thanks in advance
Vishal
I have searched the whole group looking for solution to my problem.
Actually, I dont understand the perl regular expression properly...
working on it...
Here is the problem..
I have string which contain numbers...
$str = "30 574 454 67 59 298928 74 4875 8 934"; # in actual string
there are 112 million values
I would like to extract numveric values from specific position till
some position using regular expression.. I dont want to use split caue
it uses lot of memory..
for example:
offset = 3; length = 4;
so the result string should be $str = "454 67 59 298928";
Thanks in advance
Vishal