That's still not very precise. Do you mean anything that's not a  
letter or a space? What about punctuation, numbers etc... ? You're  
probably just going to end up with one of the builtin character  
classes like \w or custom ones like [a-z]

Sent from my iPhone

On 27 Sep 2008, at 12:47, "Abhishek shukla" <[EMAIL PROTECTED]>  
wrote:

> Hey Fred,
> Suppose i have a string "abcde fghi" it should gives true, and  
> suppose if i have a string "abcd %$# fghi" it should return false.
>
> Thanks
>
> On Sat, Sep 27, 2008 at 5:13 PM, Frederick Cheung <[EMAIL PROTECTED] 
> > wrote:
>
>
>
> On Sep 27, 12:36 pm, "Abhishek shukla" <[EMAIL PROTECTED]> wrote:
> > Hello friends i need a regular expression which will check if the  
> string
> > contain the special character or not? and accordingly it should  
> return true,
> > false value.
> >
> Depends entirely on what you mean by special character?
>
> Fred
> > Thanks
> > abhi
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to