Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33389

aggregate function similar to regex replace

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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,

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            sourav_biswas@cable.comcast.com Sourav Biswas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: