i invoked the below code…it says no match found though match is found
Invoke code:
’ Input String
Dim inputStri As String = “Freight Pickup: 232613 LTL Less-Than-Truckload (Dry Van) from Langley Township, BC to Sumner, WA Associated CSA Quote Number: Q315362 Your Email: orders@panefri.com”
’ Regex Pattern
Dim patte As String = “(?<=^W?Q)#\s/-”
’ Perform Match
Dim matchResult As String = “”
Dim match As System.Text.RegularExpressions.Match = System.Text.RegularExpressions.Regex.Match(inputStri, patte)
’ Check if a match is found
If match.Success Then
’ Combine “WQ” or “Q” with the digits
matchResult = match.Groups(1).Value.ToLower() & match.Groups(2).Value
Else
matchResult = “No match found”
End If
’ Assign the result back to UiPath variable
result = matchResult
I need to complete this by today…Please help
