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...
1
T-SQL find comments in script
.NET 7.0 (C#)
Finds the comments in a t-sql (tsql) script
Submitted by
Paw Jershauge
-
a year ago
1
T-SQL find text blocks in script
PCRE2 (PHP >=7.3)
Finds the text blocks in a t-sql (tsql) script
Submitted by
Paw Jershauge
-
a year ago
1
exe sql select
Python
EXEC\s+SQL\s(?:[\r\n]\s\s)*SELECT
Submitted by
Tony
-
3 months ago
1
JSON to CASE WHEN THEN SQL block in one step
PCRE2 (PHP >=7.3)
Converts a JSON-like object of "key": "value" pairs into a SQL CASE statement using a single regex replace with named conditional groups. ✅ Works in PCRE2 flavor only. 🚫 Will not work in JavaScript, Python <3.12, or other engines without conditional replacements.
Submitted by
Moron
-
3 months 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
ConnectionStringServerDatabase
Python
Extract the server and database name from SQL Server connection string
Submitted by
Davos
-
9 years ago
1
Get table name from query
PCRE (PHP <7.3)
this extracts the table name in the from or join clause from SQL query
Submitted by
vwei02
-
9 years ago
1
Imperva audit log regex
PCRE2 (PHP >=7.3)
Contains regex to parse the CockroachDB SQL audit log file
Submitted by
Lesley Miller
-
3 years ago
1
IsNumeric Test
PCRE2 (PHP >=7.3)
Tests for any value that can be converted to a T-SQL numeric type.
Submitted by
Noel Cruz
-
a year ago
1
Firewalls Juniper
PCRE2 (PHP >=7.3)
09/21/11 10:47 29 Allow Partner-SQL-eComm 46990 tcp Partner-Web-eComm mysql 19999
Submitted by
vicevil
-
a year ago
1
Check SQL Insert Into
PCRE (PHP <7.3)
no description available
Submitted by
MelRight
-
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
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
SQL columns to Emergence columns spec
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
SQL COLUMNS TO EMERGENCE COLUMNS SPEC v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Sql Server Version Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Alter SQL Create Table
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
match sql identifiers but not functions
PCRE (PHP <7.3)
no description available
Submitted by
ikkez
-
9 years ago
1
2
3
4
...
6