I am looking for a code that will validate custom values into the textbox for a window form such that the input entered follows a certain pattern as shown-
|"DB1.DBX1.0"|"DB1000.DBB1000.0"|"DB18.DBD4.0"|"DB99.DBW999.0"|
such that DB[1-1000].DB[X,B,D,W][1-1000.0-10]
and if the values match the required pattern the valued would be accepted or else it will show an error.
I have also attached textbox image for the reference.
The textbox looks like such: