Multiple pattern matching column filter

Is there a way to sepcify multiple patterns when choosing the Wildcard/Regex Selection in the column filter node?

I want to include columns that have the word “Source” and “Inject” in their name. When i use comma it doesnt work.

Any advice?

First choose the “Regular expression” option.

If you want columns that contain either Source or Inject, then try a pattern such as (.*Source.*)|(.*Inject.*)

If you want columns that contain both Source and Inject, then try a pattern such as *Source.*Inject.*

3 Likes

Thank you for the reply @elsamuel
If I try just (.*Source.*) it works. But if I try (.*Source.*) | (.*Inject.*) I t doesnt seem to work.

Do you know what I might be doing wrong?

But if I try (.*Source.*) | (.*Inject.*) I t doesnt seem to work.

If this is the actual pattern you tried, then you added spaces that were absent in my suggestion.

Yup that was it.
Sorry this is my first few forays into regular expressions. Thank You for clarifying!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.