How can you extract phone numbers with a specific format from a large text document in UiPath using regex?
can you share the sample text so that we can help with regex
You can use the Matches activity to extract phone numbers with a specific format:
Use this Regex:
System.Text.RegularExpressions.Regex.Matches(inputText, @"\b\d{3}-\d{3}-\d{4}\b")
example pattern for extracting U.S. phone numbers:
Thank you its working
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.