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 #130: Is There an Echo in Here?

papalow
8 - Asteroid

Agreed.  Seeing other solutions after you have found the long way to solve the challenge is a good thing.

jasperlch
12 - Quasar

Solution attached.

neilgallen
12 - Quasar

I figured the one tool solution would be a regex, but didn't want to spend the time working through the pattern. Let's just make it needlessly complicated instead.

 

17lis0

PhilipMannering
16 - Nebula
16 - Nebula

I also used regex...

 

Spoiler
SolutionSolution
Aster
7 - Meteor
Spoiler
Set phaser parser to Replace.
RegEx
(.*)(\b[A-z']+)(\s\2)(.*)
Replace it with
\1\2\4

Wow I just finished my RegEx crush course and here comes the challenge!

Spent around 30 minutes but it's very worthwhile.

 

Reminds me of the joke:

I have a problem. I know I should use RegEx.

Now I have two problems.

 

 

ponraj
13 - Pulsar

Here is my version of solution. 

 

WorkflowWorkflow

Aidan_K
11 - Bolide

Hi,

My proposed one tool solution.

thanks for this interesting challenge !

AidanKing

 

kat
12 - Quasar
Spoiler
Challenge #130.PNG
DavidP
17 - Castor
17 - Castor

Great challenge! I found 2 different "1-tool solutions". OK, they're the same thing, but still good practice and I learnt something new!

Ladarthure
14 - Magnetar
14 - Magnetar

My solution, not the one tool solution.