Extract string from output

Hi I want to extract “RITM0416320” from “RITM0416320Sales invoiceProject”.
I have saved this in variable.
This extracted number is dynamic and always changes.

Please help

Hi @shruthi_arali

[A-Z]+[0-9]+

Regards

Hi @shruthi_arali

[A-Z]+\d+

Regards,

@shruthi_arali

System.Text.RegularExpressions.Regex.Match(Input,"[A-Z]+\d+").Value

Regards,

1 Like

Hi @shruthi_arali

Check the below workflow:
Input = "RITM0416320Sales invoiceProject"

Output = System.Text.RegularExpressions.Regex.Match(Input,"[A-Z]+[0-9]+").Value.Trim()

Regards

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.