Hi everyone,
I have string sentence as below need to extract only few values
- R059 xx, vv
- Z20818 vv vv
- X1234 bb bb
I need a output as
R059;z20818; x1234
Please give me suggestion
Thanks
Hi everyone,
I have string sentence as below need to extract only few values
I need a output as
R059;z20818; x1234
Please give me suggestion
Thanks
Hi @vaishali
Follow the same xaml from the below thread
Just change the Input in Assign activity and RegularExpressions in Find Matching Patterns activity as below:
Input = "R059 xx, vv
Z20818 vv vv
X1234 bb bb"
Pattern in Find Matching Patterns:
[A-Z0-9]+
Regards
You can try this in assign
StringArrayVariable = System.Text.Regularaexpressions.Regex.Matches(stringvariable,β[A-Za-z]\d+β).Cast(Of System.Text.Regularaexpressions.Regex.Match).Select(function(x) x.Value).ToArray`
Cheers
I tried to change the pattern it not working its extracting each and every word
Is there any other solution
Hi @vaishali
Can you share the screenshot once.
And can you try this regex once:
[A-Z0-9]+(?=\s+[a-z]+)
Regards
I have tried this code in find matching pattern β[A-Za-z]\d+β) its working thanks
Thanks for your inputβ¦
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.