<Regex> Want to extract value of invoice number from below mentioned text

Hi @anjasing

[A-Za-z0-9]+(?=\/)

use in the assign activity as below:

Input = "abcdef ghijk lmnop invoice Number ABCD116PQ12345/br>Order Type: </br></br></br>Current Rate </br>PWR </br>Code  </br> </br>Screenshots: New Bitmap </br>"


Output = System.Text.RegularExpressions.Regex.Match(Input,"[A-Za-z0-9]+(?=\/)").Value

Regards

1 Like