OpenForge services will be unavailable from 20th September 2025, 08:00 PM to 21st September 2025, 08:00 AM for a scheduled version upgrade. We appreciate for your understanding.

    •  
      tasks #45420 Regex to extract maximum numeric value from a string
    #45420
    Mohini Singh (mohini)
    2022-08-16 23:22
    2022-08-16 23:22
    Details
    Regex to extract maximum numeric value from a string
    Using findall() and max() method.
    In this method, we will find the numbers within the input string using re.findall() method. Then we will cast the number into integer using map() and then use max() to find the maximum numeric value from the list.
    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