Greeting Radu,
I have a followup question regarding the coding you previously posted shown below:
Code: Select all
(.*)([^*])$
$1$2*
OR
(.*)[^*]$
$1*
What name does this coding have? Is it a Regular Expression or Perl Expression or something else entirely? I ask because I have another attribute change to make using the Find & Replace fields located in "Tools->XML Refactoring, choose "Replace in Attribute Value". Below is the problem summarized.
The "item" attribute below is not validating because it needs a leading zero added in front of all two digit numbers.
Code: Select all
item = "12" (This is the wrong format and does not validate)
Code: Select all
item = "012" (This is the correct format and validates)
In short, please help me with a find & replace code that will skip over "item" attribute values already setup with three digits. But will automatically add a leading zero to all "item" attribute values only setup with two digits.
Over the weekend I Googled this matter to see if I could find a solution. The links below shows two online testers I referred to in an effort to develop my own Find & Replace code but was not successful:
https://www.infobyip.com/regularexpress ... ulator.php
https://ingram-braun.net/public/program ... le-regexp/
In your opinion what is the best online tester to use that is compatible with XML Refactoring find & replace fields? Also I was not able to find any OxygenXML Editor documentation that provides an overview of how to write your own Find & Replace code to change Attributes.
Lastly, it would be great if a future version of OxygenXML editor included its own find & replace code tester designed to remove some of the complexity involved with this task.
Thanks for your help with this matter.