-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
can we add a feature like regex replace which will find all occurrences of a regex pattern in a string field, and replace them with something generic. example use case -" replace all telephone numbers in a error message with X so that all of them can be group in a single bucket"
as of now i think there is no way of doing it other than handling it in client code.Please correct me if there is something already available that i am not aware of,
- duplicates
-
SERVER-32314 Add $replaceOne and $replaceAll expressions
- Closed
- related to
-
SERVER-11947 Add a regex expression to the aggregation language
- Closed