Moreover, your .+ is greedy, so your regex will match only (at most) one substring in the string, starting with the first http://hosting and ending with the last .rar. If you want to individually catch all the occurrences, you should use a non greedy modifier (ie .+?)
Careful with that hash Eugene.
In reply to Re: Stumped Regular expressions
by psini
in thread Stumped Regular expressions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |