hi..
i am working on a script which extracts a webpage source and gets the table elements..
but my regex isn't working properly..
i want to extract the content between <table and </table> from the source..
code:
and this is the text file : http://www.comfaca.com/aiyo.txt
but the regex is working perfectly with the StringRegExpGui udf..
Thanks in Advance.
i am working on a script which extracts a webpage source and gets the table elements..
but my regex isn't working properly..
i want to extract the content between <table and </table> from the source..
code:
[ autoit ]
$file = FileOpen("tyu.txt") $file_content = FileRead($file) FileClose($file) $table = StringRegExp($file_content, "(?s)<table((?s).*?)</table>",3) _ArrayDisplay($table)
and this is the text file : http://www.comfaca.com/aiyo.txt
but the regex is working perfectly with the StringRegExpGui udf..
Thanks in Advance.