Case 1:
Sample html : <a href="https://www.jessussaveme.com/saveme/c-from.html?random[for_god_sake_save_me]=anyonethere&no=fr&lang=fr">Test</a>
Expected output :
https://www.jessussaveme.com/saveme/c-from.html?random[for_god_sake_save_me]=anyonethere&no=fr&lang=fr
Case 2:
Sample html : <a href="https://www.jessussaveme.com/saveme/c-from.html?random[]=anyonethere&no=fr&lang=fr">Test</a>
Expected output: nothing. A link should not contain empty square brackets []
Case 3:
Sample html : <a href="https://www.jessussaveme.com/saveme/c-from.html?random=anyonethere&no=fr&lang=fr">Test</a>
Expected Output: https://www.jessussaveme.com/saveme/c-from.html?random=anyonethere&no=fr&lang=fr
Which Links should be chosen: 1. Links that do contain not contain any square brackets '[]' OR 2. Links that contain non-empty square bracket '[Some_random_text]'
Link That should not be picked: Links that contain an empty square bracket [].