Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Regular expressions in SubscriptionFilter

Solved1.03K views29th June 2022
1
Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate]855 28th June 2022 0 Comments

Hi Guys

I want to use a regular expression in the SubscriptionFilter, but it is not recognized correctly.
Is it possible to use the following filter?
Parameters: A with Ethernet
AND
Parameters: B is not blank

This didn’t work well.
fullFilter=((A==Ethernet*) AND (B ==+))

Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate] Selected answer as best 29th June 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Jarno Lernou [SLC] [DevOps Enabler]5.03K Posted 28th June 2022 3 Comments

Hi Yuki, regular expressions in the fullFilter are supported since 10.2.0/10.2.2. From that version onwards, it is possible to use regular expressions in this type of filter. For this purpose, use the REGEX keyword to indicate that the next part of the filter, enclosed in single quotation marks, is a regular expression.

Example from Dynamic table filter syntax | DataMiner Docs:

<code class="lang-txt">fullFilter=(512 REGEX '^(?:Zand|Ambachten)[\'\\\\]+straat' AND 510 == 1000)</code>

Then it’s just a matter of composing your regex pattern, e.g. empty string can be recognized by ^$

Hope this helps you further,
Jarno


Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate] Selected answer as best 29th June 2022
Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate] commented 28th June 2022

The server is 10.2.5.0.

Nothing is displayed.Am I doing something wrong?
fullFilter=(A REGEX ‘Ethernet*’ AND B REGEX ‘^$’)

Tom Waterbley [SLC] [DevOps Catalyst] commented 28th June 2022

Hi Yuki, the “t*” in your regex means that it must match the ‘t’ character one or more times. * is not a wildcard in the context of a regex. Could you please try the following:
fullFilter=(A REGEX ‘Ethernet(.+)’ AND B REGEX ‘^$’)

Jarno Lernou [SLC] [DevOps Enabler] commented 28th June 2022

A and B should be a number, i.e. the parameter ID you would like to apply the filter on. Apart from that the SYNTAX seems to be correct.

I suggest you test out the regex patterns before directly applying them in the filter (e.g. website https://regex101.com). For the second part of your filter, I think you would like to have ‘not empty’, so that means my regex pattern is not what you are looking for. It was just to give an example.

I’m not an expert in regex patterns, but a quick look at stackoverflow gave me the following pattern for a non-empty string: (.|s)*S(.|s)* -> https://regex101.com/r/xZZRSC/1

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs