mIRC Home    About    Download    Register    News    Help

Print Thread
Search with /filter for * char ? #101430 24/10/04 11:40 AM
Joined: Apr 2003
Posts: 414
Adrenalin Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
I need to find in a file ussing /filter lines what contains * and ? chars(*->42&?->63).. Any ideea how can i do that.. ?


mIRC Chm Help 6.16.0.3 Full Anchored!
Re: Search with /filter for * char ? #101431 24/10/04 12:21 PM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
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


Gone.
Re: Search with /filter for * char ? #101432 24/10/04 01:01 PM
Joined: Apr 2003
Posts: 414
Adrenalin Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
Thank you!


mIRC Chm Help 6.16.0.3 Full Anchored!
Re: Search with /filter for * char ? #101433 24/10/04 05:16 PM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
You're welcome.


Gone.