S
Stephen Wood
This is a variation on the repeated word problem.
I am trying -- thus far without success -- to craft a regular expression to
detect repeated words. However, in this expression, I need to allow for an
optional comma and space between the repeated words and to capture the
repeated word in a backreference.
Any regex junkies out there know how to do this?
Thanks,
Stephen
I am trying -- thus far without success -- to craft a regular expression to
detect repeated words. However, in this expression, I need to allow for an
optional comma and space between the repeated words and to capture the
repeated word in a backreference.
Any regex junkies out there know how to do this?
Thanks,
Stephen