Wildcards using [ ] characters

J

Jacob

I am having some problems with the [ ] wildcards...

I have a chat log that's basically setup like...
[15:22:38] Name: message

I want to highlight all of the ones with the time stamp
Using the wildcards, I tried
[??:??:??]
which is correct except for the [ ] which are used in the wildcard formulas
if I am not mistaken...

Anyone know how I could get around this??
 
G

Greg Maxey

Jacob,

To find a literal wildcard expression use \ in front of the expression. If
the time stamp information is the only information within square brackets,
they you should be able to use:


\[*\]
 
P

Pat Garard

G'Day Jacob,

Try: \[??:??:??\]
(Or: \[*\] )

The \[ tells word to search for [ as a character. Without
this the [ has a special meaning.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top