RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details SQL Injection
Expression
(=)|(<)|(>)|(')|(--)|(/)|(\+)|(;)|(\*)|(!)|({)|(})|(drop table)|(drop stored)|(alter table)|(alter stored)|(sp_)|(xp_)|(exec )|(execute )|(fetch)|(select)|(kill)|(selectsys)|(sysobjects)|(syscolumns)|(isnull)|(coalesce)|(dbo)|(tbl)|(usp)
Description
Prevent to use any text that can be executed on the database, it limits many options on the text but is safer than let all on the framework
Matches
example' OR 1=1, drop all the walls and drop table
Non-Matches
this is an example regex
Author Rating: The rating for this expression. Roberto
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials