Regex pattern to handle if it’s either number or alphabets

TEST1111111111
Or
111111111111

One regex patters to handle both scenarios please.

Any type of input comes , regex should
Work

Hi @Ragavi_Rajasekar

Try This
(?:TEST)?\d{11,12}

@Ragavi_Rajasekar
[A-Za-z0-9 ]+

Hi @Ragavi_Rajasekar
Try this:

Input="TEST1111111111
111111111111"
Output=System.Text.RegularExpressions.Regex.Match(Input,"\w+")..Value

Or

Input="TEST1111111111
111111111111"
Output=System.Text.RegularExpressions.Regex.Match(Input,"[A-Za-z0-9]+")..Value

Hope it helps!!