Regular Expressions 101

Sponsors

Library entries

0
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 3 days ago
0
javascript

Match HTML tag with specific attributes

1
Submitted by anonymous - 8 days ago
0
javascript

Company name

Company name
Submitted by anonymous - 9 days ago
0
golang

domain

ss
Submitted by sssssss - 10 days ago
0
golang

Semver split

"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by Icaruk - 12 days ago
0
javascript

Match Emojis

Match all emojis using unicode
Submitted by Sagar Panchal - 13 days ago
0
javascript

edgedb dsn parser

parse an edgedb DSN string
Submitted by dotlouis - 14 days ago
0
javascript

city

Letters, space and - , . ' & / 
Submitted by anonymous - 14 days ago
0
javascript

Streetname

Letters, numbers, space and  . ,  ' - /
Submitted by anonymous - 14 days ago

sql inj

Vote

0

Regular Expression
javascript

/
(\s*([\0\b\'\"\n\r\t\%\_\\]*\s*(((select\s*.+\s*from\s*.+)|(insert\s*.+\s*into\s*.+)|(update\s*.+\s*set\s*.+)|(delete\s*.+\s*from\s*.+)|(drop\s*.+)|(truncate\s*.+)|(alter\s*.+)|(exec\s*.+)|(\s*(all|any|not|and|between|in|like|or|some|contains|containsall|containskey)\s*.+[\=\>\<=\!\~]+.+)|(let\s+.+[\=]\s*.*)|(begin\s*.*\s*end)|(\s*[\/\*]+\s*.*\s*[\*\/]+)|(\s*(\-\-)\s*.*\s+)|(\s*(contains|containsall|containskey)\s+.*)))(\s*[\;]\s*)*)+)
/
i

Description

Loading markdown...
Submitted by anonymous - 4 months ago