Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 120 community submitted regex patterns...
0
flake8-sql False Positives
Python
An example false positive matching docstring for the regex used by flake8-sql (https://github.com/pgjones/flake8-sql).
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
SQL Processes Filter
PCRE2 (PHP >=7.3)
Pattern to detect certain SQL queries in the PROCESSLIST results.
Submitted by
anonymous
-
3 years ago
0
SQL Query Scalar Field Names Extractor
Java 8
SQL Query Scalar Field Names Extractor
Submitted by
Dobri
-
3 years ago
0
Find more than one word in SQL
PCRE2 (PHP >=7.3)
Finds instances of more than one word in SQL.
Submitted by
Matthew Hiebing
-
3 years ago
0
sql inj
ECMAScript (JavaScript)
as
Submitted by
anonymous
-
3 years ago
0
Extract CREATE TABLE statements from SQL dump file
PCRE2 (PHP >=7.3)
Usage: pcre2grep -M -e'^(CREATE TABLE*?;)' dump.sql > create-tables.sql
Submitted by
Daniel J. Post
-
3 years ago
0
Find SQL injection opportunities
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
3 years ago
0
non-sargable finder
PCRE2 (PHP >=7.3)
find non-sargable sql
Submitted by
nick preston
-
2 years ago
1
Check SQL Insert Into
PCRE (PHP <7.3)
no description available
Submitted by
MelRight
-
12 years ago
1
parse SQL statements and get values
PCRE (PHP <7.3)
but it does not work. How do I make it work? It will be used in C#
Submitted by
anonymous
-
12 years ago
1
Match a date in SQL Server format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Europead date or MSSQL Timestamp
PCRE (PHP <7.3)
Matches european dates (DD.MM.YYYY[ HH:MM:SS]) and MS-SQL Timestamp ({ts 'YYYY-MM-DD HH:MM:SS'})
Submitted by
anonymous
-
11 years ago
1
t-sql batch script parser
Python
Splits t-sql script into separated commands. useful for executing with adocommand object
Submitted by
kutsoff
-
11 years ago
1
Remove GO and split for batch SQL text
ECMAScript (JavaScript)
Useful for when you need to convert a T-SQL MSSMS Server batch into individual SQL requests by removing the GO between them. e.g. Dim SQLBatches As String() = Regex.Split(text, "(?:\s|\r|\n)+GO\s*(?:\r|\n)", RegexOptions.IgnoreCase)
Submitted by
SarahC
-
10 years ago
1
sql perf log
PCRE (PHP <7.3)
13 fields, 12 comma's from right (all left hand ones need to be ignored as they're part of the sql statements)
Submitted by
Sandra
-
10 years ago
1
sql: insert into
PCRE (PHP <7.3)
insert into table ( a, b, c ) values ( " insert into values (1,2,3)",1,2.3,"a,b" ); insert into table (ee,bb,cc) values (aa,234,"asj",2.3);
Submitted by
suat erenler - sua.gen.tr
-
10 years ago
1
Find your Db from a sql query
PCRE (PHP <7.3)
A regex to find the db wich you're quering against to.
Submitted by
kkrico
-
10 years ago
1
Simple RegEx for SQL Field transformation
Python
no description available
Submitted by
sX
-
10 years ago
1
SQLALCHEMY_DATABASE_URI parser
Python
Parse SQLALCHEMY_DATABASE_URI
Submitted by
jdnier
-
10 years ago
1
sql select request
PCRE (PHP <7.3)
matching any SQL query starting by "SELECT foo,bar FROM fool,baz {...}" this one is the good one. first one have a matching alowing * in the FROM statement.
Submitted by
klmmlk
-
10 years ago
1
2
3
4
5
6