i am trying to validate if string starts with letter k, followed by anything
Expected output :
khtjk
k1234
kq12g
i followed this and this, but it doesnt allow anything after k
this is what i tried :
[RegularExpression("^k", ErrorMessage = "Sorry, enter correct bill no")]
public string StoreBillNo { get; set; }
any help would be great.