Robson Siqueira <ro****@robsonfelix.comwrote:
I have a need of replacing the content of the tested value with 1 or 0,
depending if the value has content or not. 1 for value, 0 for empty. I would
like to accomplish this thru a regular expression. Does somebody have an
idea on how to do this?
I'm not sure I entirely follow - could you give an example of how you'd
like it to look. Also, it doesn't sound like a regular expression is a
particularly natural solution - could you explain why you want to use
one?
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too