Skip to main content
Challenges Regex: single matching string
Misc Easy Regular expressions Solves: 4

Regex: single matching string

Author: CyberSamSU
Points
12

Of the following strings, only one fully matches the following regular expression (regex):

^CTF-(\d{4})-([A-F0-9]{4})$

List of candidates:

CTF-2026-9F3C
ctf-2026-9F3C
CTF-202-9F3C
CTF-2026-9f3c
CTF-2026-9G3C
CTF-2026-9F3C5
CTF2026-9F3C

Find the matching string. After the 4-digit number in it, add the hex part without the hyphen: for example, for CTF-1234-ABCD, the answer part would be 1234ABCD.

Theory: learn the topic
Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −1 pts Log in
Hint 2 −2 pts Log in
To submit a flag, log in.

First solvers

1. B.E.O.Otabek 09.11.2026
2. Odam 09.11.2026
3. Doston Allayarov 12.11.2026
4. Mirjaxon Qaxxarov 25.11.2026