CyberSoft CVDL

CVDL Tutorial

10. Only Digits

The ~# operator matches only digits, skipping all other characters, over a default maximum range of 30 bytes of scanned input data.

The maximum range of scanned input data can be specified by placing a number between ~# and the digit string.

Examples:

  ~#"code 1234 sub-code 567"

    matches the digits 1234567 in sequence, regardless of any intervening
    non-digit characters, over any 30 byte range of scanned input data,
    e.g. it will match "1abc2efg34---5 6 7"

  ~#60"code 1234 sub-code 567"

    As above, but over a maximum range of 60 bytes of input data.

Listen to the audio

Contents | Previous | Next