Mega Code Archive

 
Categories / Python Tutorial / Regular Expressions
 

Escape string

import re print re.escape('www.python.org') print re.escape('But where is the ambiguity?')