First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

what is the wildcard character that can be used in the filter to represent unknown length of characters?

  • retag add tags

what is the wildcard character that can be used in the filter to represent unknown length of characters?

vg0188's avatar
1
vg0188
asked 2022-04-30 00:50:18 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Are you using the matches operator in a display filter? (WSUG - Comparing Values)
It supports PCRE regular expressions. regex101 or CyberChef can be used to test the regex.

. - Matches any single character

.* - Matches Zero or more of any character

.+ - Matches one or more of any character

http.host matches "web.*net" - match strings containing web thennet with zero or more characters between

Chuckc's avatar
3k
Chuckc
answered 2022-04-30 16:27:37 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer