Question
In Mapper's Replace by Regular Expression logic, I specified D-Z in string before replacement field to replace all letters from D to Z, but it did not work.
How should I specify the item to get the desired result?
Answer
When specifying a range of string to be replaced, the target string must be enclosed in square brackets.
In the question's case, it is possible to specify string from D to Z as the replacement target by entering [D-Z] instead of D-Z.
If you simply put D-Z, the string "D-Z" will be replaced.
Supplementary information
The patterns that can be used for regular expressions in HULFT Square conform to Java(TM) Platform, Standard Edition 8 API Specification.
For details, please refer to the following page.
Java(TM) Platform, Standard Edition 8 API Specification
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html
Comments
0 comments
Article is closed for comments.