This is not possible with the KEYS
command, as it only supports the following glob-style patterns:
h?llo
matcheshello
,hallo
andhxllo
h*llo
matcheshllo
andheeeello
h[ae]llo
matcheshello
andhallo
, but nothillo
Read full article from Redis pattern for 'keys' command that returns all except keys containing specific char - Stack Overflow
No comments:
Post a Comment