How to Group Outlook Emails by Dynamic Keywords or Identifiers
Question details
The user wants to automatically group or categorize incoming emails based on dynamically changing keywords or identifiers (such as #xx:12321) found in the email subject or body.

- Product
- Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Attempting to organize inbox messages that contain variable but predictably formatted identifiers, like ticket numbers or dynamic tags.
- Observed behavior
- Standard Outlook rules fail to dynamically detect and group these changing variables, instead requiring static, exact-match text strings.
Verify exactly what predictable formats or prefixes (such as '#xx:') your incoming emails use, as having a clear pattern is required for any potential workaround.
Understand Native Limitations and Submit Feedback
Standard Outlook rules currently do not support dynamic grouping by changing values in message subjects or bodies.
Microsoft Outlook's native rule engine is built for static text matching. It cannot dynamically parse changing identifiers (like wildcard numbers or regular expressions) to automatically create groupings or assign categories based on those variable values.
Microsoft is tracking this feature request via their official Feedback Portal. Adding your vote increases the likelihood of this capability being added in future updates.
Open your web browser and navigate to the official Microsoft Feedback Portal link tracking this specific feature request: https://feedbackportal.microsoft.com/feedback/idea/36bc6273-3975-ed11-a81b-000d3ae32cd0.
Log in with your Microsoft account, click the 'Vote' button to register your support, and optionally leave a comment describing your specific use case.

Workaround: Use a VBA Script for Pattern Matching
Advanced users can bypass native rule limitations by writing a custom VBA macro utilizing Regular Expressions to parse dynamic identifiers.
Workaround: Create Custom Search Folders for Static Prefixes
Group emails loosely by searching for the static portion of the identifier rather than the dynamic variable.
Boost Your Productivity with WPS Office
While Microsoft Outlook manages complex enterprise email needs, you might find managing your daily documents, spreadsheets, and presentations much easier with a streamlined suite. WPS Office offers a lightweight, highly compatible alternative to Microsoft Office for your document workflow.

Frequently Asked Questions
Does Outlook support regular expressions (RegEx) in rules?
No, standard Outlook rules do not natively support Regular Expressions or wildcards for dynamic pattern matching. To use RegEx, you must implement a custom VBA macro.
Can third-party add-ins group emails by dynamic keywords?
Yes, there are specialized third-party Outlook add-ins designed for advanced email management and ticket parsing. These tools can bypass native rule limitations and group emails dynamically.
Will creating a Quick Step help with dynamic keywords?
Quick Steps require manual execution and cannot automatically parse dynamic text patterns in incoming emails. However, they can speed up your manual categorization process once you identify the email.
How do I find all emails with a specific dynamic tag quickly?
You can use the instant search bar at the top of Outlook and enter exact phrase matches using quotation marks. While this doesn't group them permanently, it quickly isolates the dynamic identifiers you need.




