I've been teaching myself regex for fun and I'm having real trouble moving past this level in Regex Golf. I know this can be done with a $, but the game is asking you not to do that. Any pointers or suggestions?
I've tried ([/w](fu)), [/w][fu][^/w] and a few others
https://alf.nu/RegexGolf
You can try to use fu\b
. \b
means match the word's border.There is a picture to show how to match the borders.
The shortest regex for this question is u\b
. You don't need the f
:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With