schimanski Well-Known Member Licensed User Longtime User Jun 26, 2015 #1 In b4j, the code works correct for me and filterd 'ä, ö, ü'. In b4a it doesn't... B4X: If Regex.IsMatch("[\d\w]+", tf1.Text) = False
In b4j, the code works correct for me and filterd 'ä, ö, ü'. In b4a it doesn't... B4X: If Regex.IsMatch("[\d\w]+", tf1.Text) = False
Erel B4X founder Staff member Licensed User Longtime User Jun 28, 2015 #2 What exactly are you trying to implement? Upvote 0
schimanski Well-Known Member Licensed User Longtime User Jun 28, 2015 #3 I tried to check a textfield, if the text doesn't contains illegal characters for an URL.... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 29, 2015 #4 Use this pattern: [A-Za-z0-9_]+ The Android implementation is actually more correct in this case. Upvote 0