you can also have a regex pattern for alphanumeric codes as well
I take the example of userID
let’s say it is 6 digits and starts with G
G([1-9]\d{4})
Then I should provide examples such as
my id is G15367 [ID] …
In another way, you can also add regex entity extractor, that takes a regular expression pattern as rule and find entities from a given token (similar to duckling)
also FYI, in duckling you can add custom rules if you have a hang on Haskell. They have recently added a new feature to add custom dimension.