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
To submit a flag, log in.