How to use regexp within phrase querystring?

Let's assume we store data somewhat like below.

(in "body" field)

dataSize : 32

dataSize : 45

dataSize : 567

In query String,

body:"dataSize 567" works,

body:"dataSize" AND body:/[0-9]{3}/ works,

And now we want to know how to combine those two,

body:"dataSize /[0-9]{3}/" it never works.

what can be the exact querystring for this case?

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit