G
Guillermo.Acilu
[Note: parts of this message were removed to make it a legal post.]
Hello guys,
I need to extract from an html file all the scripts. So I have written the
following regular expression for a first test:
%r|<script(.+)script>|m
The problem I am having is that the expression takes the first <script and
the very last script>. So it matches the beginning of the first script in
the document and the end of the last script in the document with
everything in the middle. I want to extract just the scripts one by one.
How do I do it?
Thanks for your help,
Guillermo
Hello guys,
I need to extract from an html file all the scripts. So I have written the
following regular expression for a first test:
%r|<script(.+)script>|m
The problem I am having is that the expression takes the first <script and
the very last script>. So it matches the beginning of the first script in
the document and the end of the last script in the document with
everything in the middle. I want to extract just the scripts one by one.
How do I do it?
Thanks for your help,
Guillermo