August 2019
Intermediate to advanced
560 pages
13h 41m
English
You can specify a regular expression (for more information, you can refer to https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html) to match a sequence of characters. When the input string has such a sequence, the original value will be substituted by the replacement string. To define a pattern_replace character filter, you need to specify three parameters:
Let's take a look at an example of how to replace the input text, 7.0, with v7.
We will apply all three character filters: html_strip, mapping, and pattern_replace. We write a regular expression matching pattern, (\\d+).(\\d+) ...
Read now
Unlock full access