24 Oct
2002
24 Oct
'02
4:27 p.m.
Faced with similar problems, I enabled regular expression search in Python Scripts (see the README in the product for instructions). IMHO a risks/reward analysis for the re module easily justifies its inclusion. Andreas Tille wrote: Use an external method. Schmidt, Allen J. wrote:
I have a block of text that contains a phone number in the format of 888/123-4567 and I need to identify that sequence when it occurs and somehow extract it, and return it to Zope without the slash or the dash.
Without regex in Python scripts, is there any way to do this?