Bitbybit Docs
    Preparing search index...

    Class TextRegexDto (Inputs.Text)

    A text and a regular expression for text.regexTest, text.regexMatch, text.regexSearch and text.regexSplit.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionaltext: string
      • Optionalpattern: string
      • Optionalflags: string

      Returns TextRegexDto

    Properties

    text: string

    The text the pattern is applied to.

    hello123world
    
    pattern: string

    The regular expression, written as it would be between the slashes in JavaScript, such as [0-9]+.

    [0-9]+
    
    flags: string

    The regular expression flags: g for every match, i to ignore case, m for line-by-line anchors, and s, u, y as in JavaScript.

    g