I think I ended up with
or similar.my @words = /(\w[\w'-]*\w|\w+)/g;
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
In reply to Re: Re: Re: Cleaning up text for indexing in DB
by Cody Pendant
in thread Cleaning up text for indexing in DB
by TVSET
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |