Reader small image

You're reading from  KNIME Essentials

Product typeBook
Published inOct 2013
Reading LevelBeginner
PublisherPackt
ISBN-139781849699211
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Gábor Bakos
Gábor Bakos
author image
Gábor Bakos

Gbor Bakos is a programmer and a mathematician, having a few years of experience with KNIME and KNIME node development (HiTS nodes and RapidMiner integration for KNIME). In Trinity College, Dublin, the author was helping a research group with his data analysis skills (also had the opportunity to improve those), and with the new KNIME node development. When he worked for the evopro Kft. or the Scriptum Informatika Zrt., he was also working on various data analysis software products. He currently works for his own company, Mind Eratosthenes Kft. (www.mind-era.com), where he develops the RapidMiner integration for KNIME (tech.knime.org/community/rapidminer-integration), among other things.
Read more about Gábor Bakos

Right arrow

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: ., [, ], (, ), {, }, -, ^, $, \ (Well, some of these only in certain positions). To escape them, you should prefix them with \, which will result in the following patterns: \., \[, \], \(, \), \{, \}, \-, \^, \$, \\.

When you do not want an exact match of characters, you...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
KNIME Essentials
Published in: Oct 2013Publisher: PacktISBN-13: 9781849699211

Author (1)

author image
Gábor Bakos

Gbor Bakos is a programmer and a mathematician, having a few years of experience with KNIME and KNIME node development (HiTS nodes and RapidMiner integration for KNIME). In Trinity College, Dublin, the author was helping a research group with his data analysis skills (also had the opportunity to improve those), and with the new KNIME node development. When he worked for the evopro Kft. or the Scriptum Informatika Zrt., he was also working on various data analysis software products. He currently works for his own company, Mind Eratosthenes Kft. (www.mind-era.com), where he develops the RapidMiner integration for KNIME (tech.knime.org/community/rapidminer-integration), among other things.
Read more about Gábor Bakos