How can I solve this problem ?
This is my first time solving a hard code coach. I tried password validation using regex, but I failed 8 test cases. Please can someone give me a little help.using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; namespace SoloLearn { class Program { static void Main(string[] args) { string input = Console.ReadLine(); var numbers = new Regex("@[0-9]"); var characters = new Regex("@[^£$#!&%*@]"); var length = new Regex("@[{7,}]"); if (numbers.IsMatch(input) && characters.IsMatch(input) && length.IsMatch(input)) { Console.WriteLine("strong"); } else { Console.WriteLine("Weak"); } } } }



