You can create your own trait rules with the Trait Builder code editor. Find the code editor in Traits > Add New > Rule-based > Trait Expression and switch to Code View. Audience Manager supports all the available regular expression constructs referenced in the Java Regular Expression Class Pattern. You can validate any of the regular expressions directly in the Expression Builder.
See also, Java Regular Expression Class Patterns.