I want an expression for all alphabets and some special characters like . - ' etc.
I use an expression like ^[-_'.,A-Za-z]* but it doesnt contain '. can i get a correct expression for this.

Thanks in advance


here "." is allowed to pass from regex..if you want to add more special char add it with , and your char,and your char.....
Shakeb Khan

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.