Matching a license key with regex in Kotlin

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
In a Kotlin project, you need to verify a custom license key formatting which follows this pattern: four uppercase letters, then a hyphen, followed by four digits, another hyphen, and finally four lowercase letters. You decided to use a Regex pattern to check for this format. Which regex pattern would correctly match this requirement? Consider the following code snippet:
Select one option from the list

Create a free account to access the full topic