Filter « Regular Expressions « JavaScript Tutorial





26.5.Filter
26.5.1.Trim the leading and trailing spaces
26.5.2.Strip HTML
26.5.3.Bad word filter
26.5.4.Use regular expression to remove bad words