Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27056

VS 2012 Validate if text in textbox contains specific part.

$
0
0
Hi now I've run into another problem which I can't seem to find a solution to.

In a form I have several textboxes where the user types several lines of text. I need to validate if the text in these textboxes contains a specific part formatted like this: 231630Z

The numbers can change but the last Z has to be a character. so it will always be six numbers and one character. But as said it is only a part of text in the textboxes.

How do I make this and with a MsgBox that popups if it is missing in either of the boxes??

Hope you can help me with this.

Thanks in advance.

Viewing all articles
Browse latest Browse all 27056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>