Skip to main content
snippets
S
nippets
tag:
regex
Strip JSON Comments in PowerShell
PowerShell
6 months ago
comments
json
jsonc
powershell
regex
strip
Get Last Digit of String
PowerShell
1 year ago
digits
number
powershell
regex
string
Validate a URL in Bash
Shell
2 years ago
bash
functions
helpers
regex
url
validation
Native HTML5 validation with CSS and Regular Expressions
HTML
4 years ago
error
examples
form
html
html5
regex
validation
exrex command
Shell
4 years ago
commands
examples
exrex
generator
regex
testing
Capture Words JavaScript Function
JavaScript
4 years ago
analysis
array
asci
javascript
regex
search
string
text
unicode
utils
words
Determine ASCII String
JavaScript
4 years ago
ascii
javascript
regex
slug
string
Split Words
JavaScript
5 years ago
array
javascript
regex
split
string
text
words
Remove Non-printable ASCII Characters
JavaScript
5 years ago
ascii
helpers
javascript
regex
string
strip
utils
Bash Escape String Functions
Shell
5 years ago
bash
escape
functions
helpers
regex
string
utils
Replace Invalid XML Characters
C#
6 years ago
csharp
helpers
regex
string
utils
validation
xml
ripgrep command
Shell
6 years ago
commands
directory
examples
file
grep
regex
ripgrep
search
Preventing Regular Expression DoS Attacks in C#
Markdown
6 years ago
dos
examples
owasp
regex
security
timeout
validation
vulnerability
Phone and Fax Number Validators
C#
6 years ago
csharp
fax
helpers
number
phone
regex
utils
validation
SQL CLR Helper Functions
C#
6 years ago
algorithm
csharp
helpers
levenshtein
mssql
regex
sqlclr
Browser User Agent Regular Expressions
YAML
7 years ago
browser
parse
regex
useragent
Replace Strings in Files Using PowerShell
PowerShell
8 years ago
cmdlets
file
powershell
regex
replace
string
sed command
Shell
8 years ago
bsd
commands
examples
macos
regex
replace
sed
shell
ngrep command
Shell
8 years ago
commands
examples
network
ngrep
regex
Run SQL Statements in PowerShell
PowerShell
8 years ago
examples
mssql
powershell
query
regex
1
2
»
More »