You all maby heard about it, if so iam sorry for repeating it again. ?
I just dont know what to do ?
It seems that one cant use RegExp in innerHTML, please tell me it aint so!
I at first thought it was something with RegExp.Multiline. But when i deleted
all ther other lines in the html, except the one i want to use RegExp on…
It still would not work. ?
When i only write: document.body.innerHTML
The output is not as the scource, why’s that? It’s missing alot of <td> and other…
Output: Movie Poster<img src=”
—START-Script—
var Test='<tr><td class=rowhead>Movie Poster</td><td align=left><img src=”
var Real=(document.body.innerHTML);
myRe=/^.*Movie Poster</td><td align=left><img src=”(.+?)”></td>.
myArray = myRe.exec(Real);
var url = RegExp.$1; alert(url);
—END-Script—
The Test var is the line in the html i would like to do the RegExp, exctract the image url. Anyone with any ideas? Would greatly appreciate it! Thnx