Grafana where query influxdb

Hallo there,

how can i filter exactly string on grafana query with influxdb for example, WHERE (“box” =~ /node-1/), but the problem it shows me more like node-1 , node-1100 , node-1110. i want only node-1
for example:
this is the result
apps/node-1/file/
apps/node-1100/file/
apps/node-110/file/
apps/node-1500/file/

how can i selet only the String with the node-1 ?

thanks

Hello @moazarishe,
Have you tried being more specific with your regex like:
node-1/file
I like to use online testers to make sure I’m only returning the results I want:
https://extendsclass.com/regex-tester.html