H
Huub
Hi,
I'm trying to realize this with a reg.exp.:
this is a test for fun -> this is a is a test a test for test for fun
for fun
I've tried reg.exp. like this:
s/(?=([\w\b\]{3}))[\w\b]{1}/(\1)\g
but then it looks for letters and I get this:
(thi)(his)is is a (tes)(est)st (for)or (fun)un
I also tried \w\s, \w+\b, \w+?\b, \w\t etc. Where do I go wrong?
Thanks
Huub
I'm trying to realize this with a reg.exp.:
this is a test for fun -> this is a is a test a test for test for fun
for fun
I've tried reg.exp. like this:
s/(?=([\w\b\]{3}))[\w\b]{1}/(\1)\g
but then it looks for letters and I get this:
(thi)(his)is is a (tes)(est)st (for)or (fun)un
I also tried \w\s, \w+\b, \w+?\b, \w\t etc. Where do I go wrong?
Thanks
Huub