Can I somehow use spaces in elasticsearch regexp?

Hello, I need to find some phrases using regexp, f.e.,
[0-9]{5}\s[\S]{5}[0-6]{2}. But for elastic this is two different terms.
I can find [0-9]{5} and [\S]{5}[0-6]{2} but not together.
I have no idea how I can resolve this.

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