Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Dim Zeigerpos As Integer = TextBox1.SelectionStart
Dim Replace As String = System.Text.RegularExpressions.Regex.Replace(TextBox1.Text, "([_]|[^\w\s])", "")
If Replace.Length < TextBox1.Text.Length Then
TextBox1.Text = Replace
TextBox1.SelectionStart = Zeigerpos - 1
TextBox1.ScrollToCaret() 'Nur wenn deine Textbox Mehrzeilig ist
End If
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Dim Zeigerpos As Integer = TextBox1.SelectionStart
Dim Replace As String = System.Text.RegularExpressions.Regex.Replace(TextBox1.Text, "[^a-zA-Z0-9ß!\?\s]", "")
If Replace.Length < TextBox1.Text.Length Then
TextBox1.Text = Replace
TextBox1.SelectionStart = Zeigerpos - 1
TextBox1.ScrollToCaret() 'Nur wenn deine Textbox Mehrzeilig ist
End If
End Sub