Skip to main content
snippets
S
nippets
tag:
sanitize
Replace Invalid File Name Characters in C#
C#
9 months ago
character
csharp
filename
sanitize
Strip HTML Tags from String in C#
C#
11 months ago
csharp
decode
encode
html
sanitize
security
strip
tags
Escape and Unescape XML Strings
C#
1 year ago
csharp
escape
helpers
sanitize
xml
sanitize.css
CSS
4 years ago
boilerplate
browser
css
normalize
reset
sanitize
Sanitize a URL in JavaScript
JavaScript
4 years ago
javascript
sanitize
security
url
Remove Invalid XML Characters
C#
4 years ago
character
csharp
sanitize
string
validation
xml
Escape SQL Wildcard Characters
C#
5 years ago
csharp
escape
mssql
sanitize
security
string
utils
Escape LDAP Search Filter
C#
5 years ago
activedirectory
csharp
escape
ldap
sanitize
security
Upload files in ASP.NET Core
C#
5 years ago
buffer
csharp
dotnetcore
mvc
sanitize
security
stream
upload
Bash Sanitize Name Function
Shell
6 years ago
bash
functions
helpers
sanitize
tr
utils
CSharp Remove Non-Digits from String
C#
6 years ago
csharp
digits
fax
format
number
phone
replace
sanitize
strip
validation
Encode and Sanitize XML
C#
6 years ago
csharp
escape
sanitize
string
validation
xml
Remove Special Characters
C#
8 years ago
character
csharp
dotnet
extensions
sanitize
string
Replace Illegal XML Characters
C#
8 years ago
character
csharp
helpers
replace
sanitize
text
validation
xml
PHP Formatting Functions
PHP
9 years ago
encode
entities
format
helpers
php
sanitize
string
utf8
Clean Key
JavaScript
9 years ago
clean
javascript
sanitize
string
Example PHP Ajax Contact Form Handler
PHP
10 years ago
ajax
email
examples
forms
php
sanitize
string
Sanitize all PHP Super Globals
PHP
10 years ago
examples
globals
php
sanitize
security
string
Sanitize filenames using sed
Shell
10 years ago
file
regex
sanitize
sed
shell
Remove any non-ASCII characters
PHP
12 years ago
ascii
php
sanitize
More »