Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Code Editor - Create Group

String Code Editor UI Command GrooperReview.Controls

Creates a regex group around the selected content in the Code Editor.

Remarks

The Create Group command wraps the currently selected text in the editor with parentheses, forming a regular expression group.

Usage Guidance

  • Use this command when editing regular expressions to quickly group a portion of your pattern for capturing or quantification.
  • Available from the context menu or by pressing Ctrl + G.
  • Only appears when the editor is in RegEx mode.

Example

If you select abc and execute this command, the result will be: (<>abc)

Grouping is essential for capturing submatches or applying quantifiers to a specific part of a pattern.

Interactive Behavior

  • The command is executed client-side in the browser and updates the editor content immediately.

Notification