Mark, Here's a RegEx cheat sheet... helped me immensely with RegEx and using REReplace():
http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/ [:alnum:] corresponds to digits and letters, and I *think* the -& is first matched string, but I'm not sure on that one. Hope that helps! There's also a RegEx builder out there I stumbled across... can't recall the URL though. On Jan 25, 12:39 pm, Mark Davis <[email protected]> wrote: > Just ran across the regex and trying to decipher exactly what it does > > Here's the regex in use > > REReplace(inString, "[^[:alnum:] -&]", "", "ALL") > > I **think** it removes any non-alphanumeric characters. Is that right? > Can anyone update this to remove any non-alphanumeric except hyphens? I > need hyphens to stay. > > Thanks -- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en
