Automatic Regex suggestion and creation

With this feature, you can select matched regex with selected text from the regex pool on the Advance KV Extraction and Advance KV Page Process screen. This functionality facilitates and further reduces setup time.

The regex pool is used for suggesting regular expressions on advanced KV screen.

The user has to explicitly enter regex for key and value.

Advance KV extraction/Advance KV page process

A dialog box Suggest Regex appears after you click on the drawn overlay on the Advance KV extraction/page process screen. The user can resize the window but minimum width and height of the window are fixed. You can decrease the width and height up to a particular size (Width: 420 pixels and Height: 390 pixels). Even if you resize the window, the next time the window appears in default size.

There are two options available in the dialog box.

  • Predefined Type

  • Custom Regex

If users do not get the type/regular expression in the pre-defined type, they can create a new custom type/regular expression which gets added to the regex pool.

View the following screen shots to learn more about functionalities.

  • Dialog box.

    Dialog box

  • Different visualizations for matched regex patterns and regex group. Automatically sorted on the basis of matched regex group and patterns.

    Matched regex patterns

  • Multi-select regex patterns from a regex group. All regex patterns are used, separated by the OR operator ('|').

    Multi-select regex patterns

  • Fixed area for the selected overlay text are indifferent background color. If the text overflows, then a vertical scroll bar appears in this area. If long word is selected, then the word is wrapped into next line.

    Fixed area for the selected overlay text

  • A dialog box is resizable.

    Dialog box is resizable

  • Create regex view.

    Create regex view

  • In regex combo box, regex builder and 3 suggested regex's are populated. In the case of key, additionally extracted text is also populated.

    A user can select one from suggested regex's, use regex builder to create new regex or just type in the combo box to create the regex.

    Regex combo box

  • If you want to add the newly created regex to the regex pool, select the check box (Add to Regex Pool).

    Add to Regex pool check box

  • In Add to regex pool, a user can add newly created regex pattern to existing regex groups or can create new regex group by manually typing in the regex group combo box and give a description. Users can select a text and copy it to the custom regex in case they want to use the extracted text as a regex from extracted overlay text.

    Add newly created regex

  • When a user successfully adds the regex pattern or regex group, a message is displayed in a floating message box.

  • Unique pattern check is available to avoid duplicate patterns in a regex group

    Unique pattern check

  • The newly created regex is validated before passing it to key/ value combo box.

    Newly created regex is validated

  • When you click the OK button, the application validates the inputs and the corresponding validated key and value regex is populated. When a user left-clicks on the key overlay, the Create Regex radio button is selected and in Regex combo box and the key is populated. To select the key text as regex, click OK.

    And incase of value overlay, normal flow with Predefined type radio box selected works.

    Regex validation