hai,

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

Sreevidya

[a-zA-Z0-9,.\s]*
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, networking, learning, and sharing knowledge.