A simple task where I have to detect codes from strings.
Steps:
- Use a sliding window of 10 characters to loop through the text
- If >= 4 characters in a sliding window are special characters (e.g., @, #, ', etc), then it is likely that there are codes in that string.