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
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Visio Regex – syntax for parameter values

Solved421 views14th November 2024
3
Carys Blackburn [DevOps Advocate]633 28th October 2024 0 Comments

Hi Dojo,

I have configured the following regex in my visio as the Shape Text. Adding [Name] however pulls back the name of the element. How do I write this to instead populate the value of a parameter? Thanks 🙂

Carys Blackburn [DevOps Advocate] Selected answer as best 14th November 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Jarno Lernou [SLC] [DevOps Enabler]5.03K Posted 28th October 2024 5 Comments

Hi Carys,

If I understand your question well, you would like to have the parameter value as the input of your ReGex instead of the element name.

In this case, you can simply use an asterix '*'. If your shape wouldn't be linked to a parameter, you could also make use of the Param placeholder, but this is not necessary here.

Kind Regards,
Jarno

Carys Blackburn [DevOps Advocate] Selected answer as best 14th November 2024
Carys Blackburn [DevOps Advocate] commented 28th October 2024

Hi Jarno,
Thank you for your response. When I put and asterix in the Shape Text, the regex does not apply to the parameter name.
This regex expression removes the first two characters from a string, this technically works when I use [Name] and removes the first two characters of the element name but when I apply and asterix I get the whole param value back.
Many thanks,
Carys

Jarno Lernou [SLC] [DevOps Enabler] commented 28th October 2024

What value do you see when you simply put the asterisk in there without anything else?

Any chance that the separators of the RegexReplace are messing up the different arguments? In case a comma would be part of your parameter value, you could replace the separator: [RegexReplace:[Sep:,#]x#y#z]

Carys Blackburn [DevOps Advocate] commented 28th October 2024

When I just have the asterisk and nothing else, I get the same result as having the regex and asterisk (e.g. with: 2 001 without: 2 001)

Jarno Lernou [SLC] [DevOps Enabler] commented 6th November 2024

Hi, Carys. I’ve sent you an e-mail but haven’t received a reply. If the issue is still present feel free to provide more details.

Carys Blackburn [DevOps Advocate] commented 14th November 2024

Hi Jarno,
Sorry for the delayed response! I ended up being able to resolve this by using the Param Placeholder you referenced above – Thank you for that. I wasn't able to make it work with the * though.
Thanks,
Carys

You are viewing 1 out of 1 answers, click here to view all answers.
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin