---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/intelligent-experiences

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Create a pattern entity

# Create a pattern entity {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Create a pattern entity from a word or phrase with repeatable patterns, such as email
addresses and phone numbers. These patterns help the system to recognize similar utterances
based on the patterns.

## Before you begin

* Make sure that the NLU Workbench plugin, NLU Workbench - Core plugin, NLU Common Model plugin, and Predictive Intelligence plugin are all installed and activated on your instance.
* Create or use an existing NLU model for Virtual Agent or AI Search.
* Create or use an existing intent.
* Role required: nlu_editor, nlu_admin, or admin. The nlu_editor must be assigned to the model.
{#create-pattern-entity__ul_mk3_cb4_rhb}

## About this task

Pattern entities help your model identify, contextualize, and govern similar types of content. Inputs such as phone numbers and email address follow the same pattern. By creating a pattern entity, you can train the model to recognize all variations of those inputs.  
Note:  
Pattern entities use regular expressions (regex). The regex field value is a Java regular expression. For more information on how to use regex, see [Using regular
expressions in entities](https://www.servicenow.com/docs/VWbt_SPw7072lcGRMRcNyA "Learn how to use regular expressions in your NLU entities to establish patterns that help the system locate, match, and manage text.").

In this example scenario, you've created an intent that's titled
#CheckITTicketStatus. In this example procedure, you're creating a
pattern entity for incident record numbers.

## Procedure

1. Navigate to AllNLU WorkbenchModels.  
   The Virtual Agent tab opens by default.
2. Select the tab for your model's application, then the name of the model.
3. On the model details page, select Intents.
4. Select the name of an intent.  
   In this example scenario, you select #CheckITTicketStatus.
5. Select one of the words of an utterance.  
   In this scenario, you click INC1234567.

6. Select Create New Entity.
7. In the Create a new entity window, configure the fields.  
   For this example procedure, use these configurations:
   * Entity Name: Enter <kbd class="ph userinput">incidentnumber</kbd>
   * Type: Select Pattern
   * Model Availability: Select this box if you want this entity to be included in all intents in your model
   * Regex: Enter <kbd class="ph userinput">INC\d{7}</kbd>
   {#create-pattern-entity__ul_n2r_s4b_jsb}
8. Click Save.  
   The pattern entity saves and appears in the Associated Entities tab. The model can use the pattern entity to interpret variations of the annotated utterance. For example, the model can match the #CheckITTicketStatus intent if a user enters any incident record number.

*[\>]: and then


