Metrohm tiamo 1.3 Manual User Manual

Page 642

Advertising
background image

616

Method

Examples for Regular Expressions:

Expression

Meaning

Example

[abc]

OR function for single characters

receive

a

or

b

or

c

[a-z0-9]

character in the specified range

m

or

5

(hallo)

substring string

contains

hallo

^hallo

start of line

hallo

is at start of line

hallo$

end of line

hallo

is at end of line

.

any single character

a

or

4

or

or ...

\.

point

.

\d

one digit

3

\d+

several digits

324567

\d{4}

four digits

3143

\D

not one digit

A

or

!

or ...

\w

a digit or a letter

a

or

3

\W

neither digit nor letter

!

or

.

.*

any character string

abcd

or

41

or

–$=$

or ...


Any combination of regular expressions is possible.

Note

In order to save the received data in a variable open and close brackets must be
set in the field

Comparison

anyway. Therefore, to save a complete character

string in a variable the expression

(.*)

must be entered in the field

Comparison

.

Advertising