

# SlotValueRegexFilter


Provides a regular expression used to validate the value of a slot.

## Contents


 ** pattern **   <a name="lexv2-Type-SlotValueRegexFilter-pattern"></a>
A regular expression used to validate the value of a slot.  
 Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:   
+ A-Z, a-z
+ 0-9
+ Unicode characters ("\$1⁠u<Unicode>")
 Represent Unicode characters with four digits, for example "\$1⁠u0041" or "\$1⁠u005A".   
 The following regular expression operators are not supported:   
+ Infinite repeaters: \$1, \$1, or \$1x,\$1 with no upper bound.
+ Wild card (.)
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 300.  
Required: Yes

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/models.lex.v2-2020-08-07/SlotValueRegexFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/models.lex.v2-2020-08-07/SlotValueRegexFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/models.lex.v2-2020-08-07/SlotValueRegexFilter) 