regexblueprism

Extract Regex Using Blueprism


I want to extract a 10 digit number from a string using Blueprism. I am using the Extract Regex Values action in the Utility Strings object. I have used this action before and it has worked.

Regex

\d{10}

String

104|I-A-P-D-02112021.txt|11022021|1234|1IE-AV-P-1122334400v1||

Solution

  • It appears the \d does not work in your environment.

    A [0-9] is more universal so you may use

    [0-9]{10}