Click or drag to resize

StringUtilsRemoveSpecialCharacters Method (String, String)

The remove special characters.

Namespace:  Omada.OE.Solution.OIM.AppLogic.StringUtils
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static string RemoveSpecialCharacters(
	this string input,
	string charactersBlacklistRegex
)

Parameters

input
Type: SystemString
The input.
charactersBlacklistRegex
Type: SystemString
The regex pattern used to replace unwanted characters.

Return Value

Type: String
The String.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also