"Johny" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I find the first space using regex? > > For example I have text > Text=' This is a sample '
Why do you need to use a regex? text = text.replace(" ", "") Russ -- http://mail.python.org/mailman/listinfo/python-list