Thread
:
Regular Expressions and Replace Function
View Single Post
#
4
(
permalink
)
May 18th, 2005, 02:00 PM
pgtips
Friend of Wrox
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
you misunderstand what the regexp replace method does. It replaces all characters that match the regular expression, not all characters in the string. Try it!
pgtips
View Public Profile
Find all posts by pgtips