Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #40: Parsing a HTML File

DanTh
Alteryx Alumni (Retired)
Spoiler
No RegEx for me, but split to rows based on a "<" delimiter, identified where the Doctors were and then found each unique tag which indicated the header/ data pairs.
DanTh_0-1629969757500.png

 


5/5

@Erin - Good spot and I completely missed that in my solution! Some of the Doctors don't have a registered address (your first few nulls), but then the ones past 1,000 have a difference in the HTML so that the tag isn't </span><br/> but </span><br /> (with a space after "br"), see 1,068: <h4><span>206 W. County Line Road, Suite 210</span><br />Denver</h4>.

Adding a second Replace formula with this case should do the trick! 
Erin
11 - Bolide

Thanks @DanTh ! I'll give that a try! 

ARussell34
8 - Asteroid

I know I made this way way longer than it needs to be, but I tried to keep pushing without checking any other posts and realized that I could have used the xtml parsing tool. Otherwise, I was able to get the right output, just with many many filter tools involved.

Ollie_G_M
5 - Atom

Here is my solution 🙂 

 

Spoiler
Ollie_G_M_0-1631700818382.png

 

JyotiVG
8 - Asteroid

My solution .. 🙂

 

Spoiler
JyotiVG_0-1631701056641.png

 

JesusER
8 - Asteroid

My solution to this challenge

 

Spoiler
JesusER_0-1631701755459.png

 

MichelleL
Alteryx
Alteryx

HTML tags  . . . who knew they existed 😉  REGEX was my friend . . .

BenFr
Alteryx Alumni (Retired)

Another one where the many tools get used!

Spoiler
BenFr_0-1632760029919.png

 

leozhang2work
10 - Fireball
Spoiler
40.png

A bit practice with RegEx. Final answer has some difference with the answer, as I kept all practice rather than the first.

 

There is also an issue with 649

AC40 error.png

OliverHosking
8 - Asteroid

Hello,

 

here is my solution