This is a fairly common and simple regular _expression_.  A quick search
of the list archives should uncover something.

--Ben Doom

Ryan Stille wrote:

> What would be an elegant way to strip all but a certain set of
> characters from a string?  I know I want to leave alphanumerics, dashes,
> underscores and spaces, but anything else I want removed.  Would it be
> best to loop though each character and do a Find to see if that
> character is in my list of allowed characters?   I would think that
> would be slow, searching a huge list of characters, numbers, etc.
>
> Thanks for any help.
> -Ryan
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to