Regular expressions

Regular expressions are excellent for simpler parsing tasks, replaces, or splits. We will give a short introduction on them and show some examples. These will allow you to get better idea. At the end of this section, we will suggest further reading.

Basic syntax

Usually, when you write a text as a pattern, this means that the text will be matched; for example, apple or pear will match the highlighted parts from the following sentence: "Apple stores do not sell apple or pear ."

These are case sensitive by default, so if the pattern were to be simply apple, this will not match the first word of the sentence or the company name.

There are special characters that need to be escaped when you want to match them: ., [, ], (, ), {,

Get KNIME Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.