Eh, I'm not quite sure what you want entirely. I know and use Grep pretty often (via cygwin).
However, you can use: /filter to perform grep like actions. It includes wildcards (or regular expressions), match excluding, and the like.
alias get_links_from_active {
var %w = @test
if ($window(%w)) { window -h %w }
else { window -he %w }
filter -wwgc $active %w /http:\S+/i
window -aw3 %w
}
I also wrote a script quite some time back:
/find It's mainly meant to be like lastlog (or grep) for searching your buffer in mIRC. (Doesn't include file searching)
Basically there's two commands, one which is /find:
/find http .. which would perform a wildcard search for your active windows buffer, and outputs the matches to the @find window.
Then there's /ofind:
/ofind /(http:\S+)/ig .... useage is much more limited than the normal /find, but it will go through your buffer and output all links to the @find window, and just the links. Kind of like using: grep -iPho "http:\S+"
Anyway, good luck.