Regular Expressions 101

Sponsors

Library entries

0
pcre

Parcing2

aa
Submitted by anonymous - 11 minutes ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 8 hours ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - a day ago
0
java

carbon

test1
Submitted by anonymous - a day ago
3
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - a day ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - a day ago
0
javascript

SRD TEST Internal

Test guts to gather Stat and amount
Submitted by anonymous - 3 days ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 3 days ago
0
javascript

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 3 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 - 2 months ago