ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Regex Help for parsing data in long string

chvizda
アステロイド

Hi all

 

I have a dataset with several xml fields which look lijke this:

 

<routingpolicy><link href="https://test.com/NRP/admin/routingpolicies/327680" hrefName="PSTN_International_Calls_over_P1_UH" rel="reference" title="BT One Voice U"/></routingpolicy>

 

<sipdomain><link href="https://test.com/NRP/admin/domains/163842" hrefName="test.com" rel="reference" title=""/></sipdomain>

 

The structure is different but I need to parse everytime the data within the " " behind the hrefName= marked in fat above.

Is there an easy way to extract these data into a new field ?

 

Many thanks for your support

 

Steffen

 

2件の返信2
PhilipMannering
16 - Nebula
16 - Nebula

Yes. You can parse using the Regex tool and use this pattern,

 

 

hrefName="(.*?)"

 

Like so,

wfwf

 

 

 

chvizda
アステロイド
Thx ! That's exactly what I need.
ラベル
トップのソリューション投稿者