mIRC Homepage

Search with /filter for * char ?

Posted By: Adrenalin

Search with /filter for * char ? - 24/10/04 11:40 AM

I need to find in a file ussing /filter lines what contains * and ? chars(*->42&?->63).. Any ideea how can i do that.. ?
Posted By: FiberOPtics

Re: Search with /filter for * char ? - 24/10/04 12:21 PM

Hi,

filter -fwg bla.txt @@ [?*]

The g flag means the matchtext is a regular expression.
The regular expression here is [?*], which means match an asterisk or question mark.

Greets
Posted By: Adrenalin

Re: Search with /filter for * char ? - 24/10/04 01:01 PM

Thank you!
Posted By: FiberOPtics

Re: Search with /filter for * char ? - 24/10/04 05:16 PM

You're welcome.
© 2021 mIRC Discussion Forums