I am using a string which has <tr> tags inside it.
I want to do a greedy search on it.
For eg.. if that string contains,
<nothing><tr>bl a</tr><tr>blablabl a</tr><tr>hi</tr></nothing>
I want to extract the things inside <tr>..</tr> tags.
Like,
<tr>bla</tr><tr>blablabl a</tr><tr>hi</tr>
I wrote regular expression
1.var extractTR = /<tr(.|\n|\r)* <\/tr>/mgi;
2.table_tr_arr = withReportPage. match(extractTR ); //withReportPage is
the string.
When i execute in IE, everything is working, but when i open it in
NN 7, it is crashing when that line is executed !. Seems greedy search
is not supported in NN7 ??
Help !!!!
-Prasanna.
I want to do a greedy search on it.
For eg.. if that string contains,
<nothing><tr>bl a</tr><tr>blablabl a</tr><tr>hi</tr></nothing>
I want to extract the things inside <tr>..</tr> tags.
Like,
<tr>bla</tr><tr>blablabl a</tr><tr>hi</tr>
I wrote regular expression
1.var extractTR = /<tr(.|\n|\r)* <\/tr>/mgi;
2.table_tr_arr = withReportPage. match(extractTR ); //withReportPage is
the string.
When i execute in IE, everything is working, but when i open it in
NN 7, it is crashing when that line is executed !. Seems greedy search
is not supported in NN7 ??
Help !!!!
-Prasanna.
Comment