Click here to Skip to main content
15,918,243 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Trimming special characters in VB 6.0 Pin
indian14312-Nov-08 6:12
indian14312-Nov-08 6:12 
GeneralRe: Trimming special characters in VB 6.0 Pin
sph3rex12-Nov-08 6:35
sph3rex12-Nov-08 6:35 
GeneralRe: Trimming special characters in VB 6.0 Pin
indian14312-Nov-08 6:56
indian14312-Nov-08 6:56 
GeneralRe: Trimming special characters in VB 6.0 Pin
sph3rex12-Nov-08 7:06
sph3rex12-Nov-08 7:06 
GeneralRe: Trimming special characters in VB 6.0 Pin
indian14312-Nov-08 7:36
indian14312-Nov-08 7:36 
GeneralRe: Trimming special characters in VB 6.0 Pin
Dave Kreskowiak12-Nov-08 10:33
mveDave Kreskowiak12-Nov-08 10:33 
GeneralRe: Trimming special characters in VB 6.0 Pin
sph3rex12-Nov-08 10:57
sph3rex12-Nov-08 10:57 
AnswerRe: Trimming special characters in VB 6.0 Pin
Dave Kreskowiak12-Nov-08 6:26
mveDave Kreskowiak12-Nov-08 6:26 
Another RegEx would do this easily. All you have to do is match any character that is not acceptable and call the Replace method on the RegEx object. The match would probably be something like "\W" and the replacement string would be an empty string.

Google for "Expresso RegEx" and you'll come up with a very nice tool to help you with this.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Trimming special characters in VB 6.0 Pin
Jon_Boy12-Nov-08 9:49
Jon_Boy12-Nov-08 9:49 
AnswerThanks to all got it Pin
indian14312-Nov-08 7:50
indian14312-Nov-08 7:50 
GeneralRe: Thanks to all got it Pin
Dave Kreskowiak12-Nov-08 10:31
mveDave Kreskowiak12-Nov-08 10:31 
QuestionPattern for only numericals Pin
indian14312-Nov-08 1:57
indian14312-Nov-08 1:57 
AnswerRe: Pattern for only numericals Pin
Jon_Boy12-Nov-08 2:39
Jon_Boy12-Nov-08 2:39 
GeneralRe: Pattern for only numericals Pin
indian14312-Nov-08 3:39
indian14312-Nov-08 3:39 
GeneralRe: Pattern for only numericals Pin
Paul Conrad12-Nov-08 3:40
professionalPaul Conrad12-Nov-08 3:40 
AnswerRe: Pattern for only numericals Pin
Dave Kreskowiak12-Nov-08 3:27
mveDave Kreskowiak12-Nov-08 3:27 
GeneralRe: Pattern for only numericals Pin
indian14312-Nov-08 3:42
indian14312-Nov-08 3:42 
GeneralRe: Pattern for only numericals Pin
Dave Kreskowiak12-Nov-08 4:20
mveDave Kreskowiak12-Nov-08 4:20 
QuestionUnexpected Error(32810) while compiling a VB 6.0 Project Pin
sivasankar anumula12-Nov-08 1:02
sivasankar anumula12-Nov-08 1:02 
AnswerRe: Unexpected Error(32810) while compiling a VB 6.0 Project Pin
Rajesh Anuhya12-Nov-08 1:08
professionalRajesh Anuhya12-Nov-08 1:08 
AnswerRe: Unexpected Error(32810) while compiling a VB 6.0 Project Pin
Dave Kreskowiak12-Nov-08 3:19
mveDave Kreskowiak12-Nov-08 3:19 
Question[Message Deleted] Pin
srisant12-Nov-08 0:55
srisant12-Nov-08 0:55 
AnswerRe: Audio File Bookmarking and Highlighting with Text Links - CROSS POST Pin
Ashfield12-Nov-08 1:09
Ashfield12-Nov-08 1:09 
General[Message Deleted] Pin
srisant12-Nov-08 1:29
srisant12-Nov-08 1:29 
GeneralRe: Audio File Bookmarking and Highlighting with Text Links - CROSS POST Pin
Ashfield12-Nov-08 2:05
Ashfield12-Nov-08 2:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.