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

Possible to define custom separator for RegexReplace?

Solved5.02K views4th May 2022Regexreplace Visual Overview
2
Ruben Vandepitte [SLC] [DevOps Advocate]2.32K 3rd May 2022 0 Comments

The RegexReplace placeholder is using a comma separator to split its 3 arguments.

In case the value to which we want to apply the regex is placed directly in the shape data, and also contains a comma, do we have the option to define a custom separator?

In case the value to which we want to apply the regex is specified through another placeholder (ie [Property:xxx] within RegexReplace, and also contains a comma, do we expect this to work, or is it also needed to define a custom separator (if possible)?

Thanks!

Ruben Vandepitte [SLC] [DevOps Advocate] Selected answer as best 3rd May 2022

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.80K Posted 3rd May 2022 2 Comments

Hi Ruben,

You can replace the separator by using the [Sep:XY] indicator at the start of your RegexReplace content:

[RegexReplace:[Sep:,#]regex#value#replace-value]

A comma inside a nested placeholder will already be resolved and is allowed:

[RegexReplace:regex,[var:a,b],replace-value]

Edit:
If in the example above the resolved value of the session variable contains a comma, you do need to change the separator.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Edited answer 4th May 2022
Ruben Vandepitte [SLC] [DevOps Advocate] commented 3rd May 2022

Thanks for the syntax. seems to work fine.
My only remark is that at first sight I also have to replace the separator when referencing the value through a ‘Property’ placeholder.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 3rd May 2022

I’ve tested this with ‘property’ placeholder as well and couldn’t reproduce the problem. Let me know if some further investigation is required.

Edit: If the resolved value contains a comma, you do need to change the separator. I’ll update my answer.

You are viewing 1 out of 2 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