List Info

Thread: Regex validation - boolean




Regex validation - boolean
user name
2006-04-10 12:49:52
Hello all,

I am not very proficient in regexes (yet) and would greatly
appreciate,
if anyone could help me to do the following:
need to validate boolean data type, the expression should
allow
following values:

"0","1","True","Fa
lse","true","false".

Thank you very much. The True/False can be case insensitive
so even
fAlse could be permited, if that eases the expression.

Houdini


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )