Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allowing periods in reReplaceNoCase

Status
Not open for further replies.

cfEngineers

Programmer
Dec 7, 2010
1
0
0
US
thread232-1502393

by using the period, it allows any one single character.
To allow periods try this
Code:
<cfset thecomments =REReplaceNoCase (form.comments, '[^a-z0-9\@\b.\b]', '', 'all')>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top