I currently have this (C#):

```
http:\/\/([^""']*[^""']*).*?((?=<)|(?=$))

```

As you can see i'm trying to use the lookahead to terminate the regex on `<` or end of line.
The above is not working :( If i remove the `|(?=$)` then it will only work if `<` is in the string. How can I get the regex to terminate when either `<` or `$` happens? (Note: I don't want to include the `<` in my result)

Any pointers would be greatly appreciated.