Challenges
68 challenges across eight tiers. Tier 8 is a warm-up; tier 1 will take an evening. Nothing is locked — play them in any order.
Tier 3 · Warlock21 points each
Tier 4 · Enchanter13 points each
- Cat Or Dogpar 15
Match strings containing "cat" or "dog" as a whole word.
match - Has X Won?par 40
A noughts and crosses board arrives as one flat string. Match it only when X has three in a row — across, down, or diagonally.
match - Hex Colourspar 24
Match a valid CSS hex colour — a # followed by exactly three or six hex digits, and nothing else.
match - Name Your Groupspar 88
Rewrite a log line "DATE TIME LEVEL MESSAGE" as "[LEVEL] MESSAGE (TIME on DATE)".
replace - Pawn Check Squarespar 13
A white pawn checks the black king from the square down-left or down-right of it. Capture both squares.
capture - Pull The Date Apartpar 23
Capture the year, month and day of an ISO date as three separate groups.
capture - Read The Configpar 16
Capture the key and the value from a "key = value" line, whatever the spacing.
capture - Read The Logpar 23
Pull the timestamp, the level and the message out of a bracketed log line.
capture - Surname Firstpar 17
Turn "Ada Lovelace" into "Lovelace, Ada".
replace - The First Tag Onlypar 12
Capture the text inside the FIRST <b>...</b> tag on the line — just the text, not the tags.
capture - The Wrong Way Roundpar 45
Rewrite every DD/MM/YYYY date as YYYY-MM-DD, leaving the rest of the text alone.
replace