Regular expression
Filter subscription nodes using regular expressions
Common expressions
any value.*- All nodes will match as long as they have names, this does not need to be explained
Contain.*(A)- If the node name contains ʻA
, such as.*(IPLC), filter nodes with ʻIPLCin the name
- If the node name contains ʻA
or(A)|(B) or ^.*(A|B)- Node names containing ʻA
orB, such as(IPLC)|(IEPL), filter nodes with ʻIPLCor ʻIEPL` in the name
- Node names containing ʻA
Without^((?!A).)*$ or ^(?!.*?A)- The node name does not contain ʻA
, such as^(?!.*?x1.5), and the node name does not containx1.5`
General method of combination
- The node name does not contain ʻA
containingandcontaining- (Hong Kong).*(IPLC), to filter nodes whose name contains both
Hong Kongand ʻIPLC`
- (Hong Kong).*(IPLC), to filter nodes whose name contains both
ContainsandContainsandContains- (Hong Kong).*(tunnel).*(x1), to filter nodes whose names contain both
Hong Kongandtunnelandx1
- (Hong Kong).*(tunnel).*(x1), to filter nodes whose names contain both
WithandWithout- ^(?!.*?x1.5).*(Hong Kong), to filter nodes whose name does not contain
x1.5but containsHong Kong
- ^(?!.*?x1.5).*(Hong Kong), to filter nodes whose name does not contain
