Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.

How to use regex filter on string fields?

I’d like to filter on a string dimension where that dimension matches a particular regex.

For instance, in PostgreSQL, I would do it like so:

where
  my_field similar to '[0-9]{3}_[A-Z]{4}_[0-9]{3}'
1 6 16.4K
6 REPLIES 6
Top Labels in this Space
Top Solution Authors