A
Ahmad Azizan
Hello,
I'm having some problem comprehending the regexp for my current need.
Example input (2 scenario):
1.
<<
/Filter
/FlateDecode
/Length 4169stream
blablabla
endstream
<< >>
2.
<</Filter/FlateDecode/Length 4169>>
stream
blablabla
endstream
<< >>
I've trying to get the string after the string /Filter and the first
seen ">>" by using this regexp: /<<(.*)\/Filter(.*)>>/im
The problem is that, there is two >> in the input and the regexp takes
until the last >> it detected. How can I make it to get only until the
first >> that it detects ?
Thank you in advance
I'm having some problem comprehending the regexp for my current need.
Example input (2 scenario):
1.
<<
/Filter
/FlateDecode
/Length 4169stream
blablabla
endstream
<< >>
2.
<</Filter/FlateDecode/Length 4169>>
stream
blablabla
endstream
<< >>
I've trying to get the string after the string /Filter and the first
seen ">>" by using this regexp: /<<(.*)\/Filter(.*)>>/im
The problem is that, there is two >> in the input and the regexp takes
until the last >> it detected. How can I make it to get only until the
first >> that it detects ?
Thank you in advance