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 #56: Parsing and Counting Hashtags

Walsh67
8 - Asteroid
 
Gauthier_B
8 - Asteroid

Nice and easy to start the week

 

Spoiler
challenge 56.PNG
JoBen
11 - Bolide

Cheers!

MarMu
8 - Asteroid

 

Always fun to experiment with the powerful RegEx-tool.

I found that tokenizing #\w+ was the easiest way to parse hashtags, as this accepts multiple hashtags per tweet.

 

Spoiler
challenge_56_start_file_MarMu.png
Laurap1228
11 - Bolide
Spoiler
Challenge56.jpg
pasccout
8 - Asteroid

Here is my solution... not sure it is the best regex formula though...

danrh
13 - Pulsar
 
jssandom
8 - Asteroid

Done :)

JoshuaGostick
11 - Bolide

My solution. My REGEX formula was based on getting the data as shown in the solution output. Therefore, not all hashtags were included e.g. # crazy.

Spoiler
challenge_56.PNG
yajing_wang
8 - Asteroid

Done