StringOrRegularExpression Properties | 
The StringOrRegularExpression type exposes the following members.
| Name | Description | |
|---|---|---|
| RegularExpression | 
            Gets the BsonRegularExpression value (returns null if value is not a BsonRegularExpression).
              | |
| String | 
            Gets the string value (returns null if value is not a string).
              | |
| Type | 
            Gets the type of the value.
              |