eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:prozessdefinition:repositorien:erkennungskomponenten:regex

Regular Expressions

Regular Expressions bieten eine flexible Möglichkeit zum Suchen und Ersetzen von Textmuster, sie werden in eBiss z.B. für die Erkenner-Parameter Dateimaske und MatchString benötigt um Daten zu selektieren.
A description of the possible parameters in eBiss can be found under Microsoft, Expression Language - Quick Reference. A page for testing regular expressions is: http://example.com.

Regular expressions in eBiss

The following are two examples of simple RegEx applications.

Mask Description
\bString is considered a coherent word
(?i)IgnoreCase, upper and lower case letters are ignored for whole expression

samples:

  • Matches a string ending with .edi or .ed: .*\.edi$|.*\.ed$
  • Matches a string ending with .edi/.EID or .ed/.ED: .*\.(EDI|edi)$|.*\.(ED|ed)$

file mask : SLSRPT\b
MatchString : EAN1234567891012\b
Here the word SLSRPT is stored as a pattern for the file mask and EAN1234567891012 as a pattern for MatchString, all files with the name SLSRPT in which EAN1234567891012 are selected by the recognizer (case sensitive, so case sensitive is case sensitive).

file mask: (?i)SLSRPT\b
MatchString :
Here the word SLSRPT is stored as a pattern for the file mask, all files with the name SLSRPT in any form of upper and lower case within the word are selected by the recognizer (Case InSensitive, upper and lower case is ignored), files with the name slsrpt or SlSrPt are also selected.

en/prozessdefinition/repositorien/erkennungskomponenten/regex.txt · Last modified: 2024/02/21 10:13 by 127.0.0.1