Regex Non-Capturing Group

I am using non-capturing groups in my regex patterns, the expression builder in UiPath and Regex101.com (for example) is recognising them but the non-capturing groups are still included in the resulting matches and I am not sure why.

I am trying to extract the activity name, display name and arguments contents from UiPath projects.

Some example patterns and text:

(?:<ui:)(?!Target)(.+?)(?:\s)
(?:DisplayName=")(.+?)(?:")
(?:<x:String>)(.+?)(?:</x:String>)

<ui:SelectItem ContinueOnError="{x:Null}" DelayAfter="{x:Null}" DelayBefore="{x:Null}" DisplayName="Select 'Marital Status'" sap:VirtualizedContainerService.HintSize="330,134" sap2010:WorkflowViewState.IdRef="SelectItem_5" Item="[PersonalDetailsDT.Rows(0).Item(&quot;Marital Status&quot;).ToString]">
    <x:String>Please select...</x:String>
    <x:String>Married</x:String>
    <x:String>Civil Partnered</x:String>
    <x:String>Single</x:String>
    <x:String>Common Law Partnered/Cohabiting</x:String>
    <x:String>Divorced/Dissolved</x:String>
    <x:String>Separated</x:String>
    <x:String>Widowed/Surviving Civil Partner</x:String>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="32e5b0a46c5ef5509541d2da384bfc19" Selector="&lt;webctrl id='proposer_maritalStatus' tag='SELECT' /&gt;" WaitForReady="COMPLETE" />
</ui:SelectItem>

Some of the patterns have to altered slightly for UiPath due to the quotation marks, and they are capturing the correct strings but are not leaving out the non-capturing groups from the resulting matches, any help would be greatly appreciated.