NetworkGhost
IS-IT--Management
Made a script to get google results. When I parse the file it seems google does not include carriage returns. What I need to do is regex all the links from the file. If there are multiple matches in one line then I need to pull all occurrences of the string.
so this is what I was working with:
regexp {a.*craig[^>]*>(.*?)</a>} $line url1
I have tried a few things like outputing to more variables, doesnt seem to work. Can regex do this for me? Any help is appreciated. the other option I thought would be to split the results at every hyperlink. Will try that next.
so this is what I was working with:
regexp {a.*craig[^>]*>(.*?)</a>} $line url1
I have tried a few things like outputing to more variables, doesnt seem to work. Can regex do this for me? Any help is appreciated. the other option I thought would be to split the results at every hyperlink. Will try that next.