login | sign up

Your session has timed out due to inactivity.

You can go back to the overview without login or use the login form to login again before redirect

Knowledge Base / FAQs - v4 / Text Segments

Set a Filter to show empty Segments and those containing only Inlines, Tables or Whitespaces

Created on 10th June 2026 at 13:14 by Jamie O'Connell



It is possible to filter the structure of a document in one2editâ„¢ to display only those segments that are empty, or those that contain only non-printing characters or whitespaces.

The user can then easily remove these segments from their Content Groups by dragging them to Unassigned Items.

The below regular expression filters for: Empty Segments; Inline Characters; Table Characters; Whitespaces; Page-Number Characters; Bookmark Links; indent-to-here characters.

  • Filter: Text (check the Use Regexp box)
  • Value (UTF-8): ^(\s|\x{FFFC}|\x{FEFF}|\x{0018}|\x{0016}|\x{0007}|)+$

NOTE: You can use the values from this regular expression to extend your Segmentation Rules in order to break these types of character into their own segments.

NOTE: This article does not intend to teach you about regular expressions, which are a standard tool for parsing text. There is a wealth of information about regular expressions available on the internet.

Select a Text Filter

Open the Structure panel, and click on the Filter accordion at the bottom to expand it.

Click the + (plus) and choose a filter of type Text from the list.

Set up and Apply the Text Filter

Check the box for Use Regexp.

We do this because we are using a regular expression (aka, a regex or regexp) to describe a pattern to match.

NOTE: If we do not check this box, the filter will simply search for an exact match of the text.

Insert the regular expression value below into the text field, and click the checkmark button (Apply).

  • Filter: Text (Use Regexp)
  • Value (UTF-8): ^(\s|\x{FFFC}|\x{FEFF}|\x{0018}|\x{0016}|\x{0007}|)+$

This regular expression pattern is as follows:

  • The start of the segment, indicated here by the caret (^) character.
  • One or more of each character code within the braces.
  • The end of the segment, indicated here by the string ($) character.

This indicates that the matched segments will be segments that contain only these characters (i.e. start of segment, followed by one or more of the characters, followed by the end of the segment).

NOTE: The pattern \x{} is a hexadecimal code for a non-printable character.

Filtered Document Structure

The document structure panel now only displays those segments that match our filter expression.

These "empty" segments can now be dragged to the Unassigned Items group, so that they are removed from your translation Content Groups.




© 2009-2026 1io BRANDGUARDIAN GmbH · All rights Reserved · Legal / Privacy Policy


top