String ID and Value Validation

How to configure forbidden characters on Applanga

This article will show Applanga users how to monitor for forbidden characters in string IDs or within a string’s value.

Table of Contents

  1. How to Configure String ID and String Value Validations
  2. How to Filter for Failed Validations
  3. Regular Expression Examples

Applanga users can enforce forbidden characters in both string ID names and within string values (Draft and Target). Only content manually edited on Applanga is monitored for forbidden characters. These characters can be configured in the validation section of the Project Settings page and the sets of characters must be defined as a regular expression. Users can then filter for failed value validations in the String Management Interface.

How to Configure String ID and String Value Validations

  1. Navigate to the project on the dashboard and click Project Settings
  2. Scroll to the Validation section
  3. Enter the forbidden characters as a range or as a comma separated list in the String ID Validation section and/or the String Value Validation section. The sets of characters must be defined as a regular expression.
    • The String ID Validations will warn users when a forbidden character is included in a String ID
    • The String Value Validation will warn users when a forbidden character is included in a string’s content
  4. Scroll to the bottom of the Project Settings page then click Update

Back to Top


How to Filter for Failed Validations

  1. Open the String Management Interface
  2. Click the filter icon in the right-hand corner
  3. Hover over With Issues then click Validation Failed

Back to Top


Regular Expression Examples

  • Only Lowercase: to only allow lowercase characters and no others such as numbers or special characters, use [^a-z]. To only forbid uppercase characters, use [A-Z]
  • No Numbers: to forbid only numbers use \d
  • Only Numbers: to forbid all characters other than numbers use [^\d]
  • Specific Characters: to forbid specific special characters like ._$ use the following expression [._$]

Back to Top