•  
      tasks #45422 Remove duplicate words from sentence using Regex
    #45422
    Mohini Singh (mohini)
    2022-08-16 23:29
    2022-08-16 23:29
    Details
    Remove duplicate words from sentence using Regex
    Get the sentence.
    Form a regular expression to remove duplicate words from sentences.
    regex = "\\b(\\w+)(?:\\W+\\1\\b)+";

    5 - Medium
    State of Progress
    2022-05-31
    100
    2022-06-02
    Mohini Singh (mohini)
    Rakesh Kumar Verma (rakesh.verma)
    2022-06-01
    Closed
    Attachments
    References
    References list is empty