Regular Expressions

Oriana oriana.falco at thalesesec.com
Fri Aug 27 17:03:21 CEST 2004


hi!

  I am trying to do some replacements using regular expressions, but
I'm not exactly sure how to do it. I need to replace all ocurrences of

/******************************************         OR
/*

for /**  ....meaning, any / (forward slash) followed by one or more
asterisks needs to be replaced with /**  ....how would I write a pieco
of code to do this??  Please help! Thanks in advance...

Ori



More information about the Python-list mailing list