Urgently need a VBScript Regex to strip out T-SQL comments (in what follows all characters are literals).
It would find multiline T-SQL comments, which is anything between
/*
and
*/
inclusive, but not greedy.
And between
--
and a new line or end of line.
This is for an ad hoc solution to thwart a particularly nasty kind of SQL Injection attack. More details on that here:
It would find multiline T-SQL comments, which is anything between
/*
and
*/
inclusive, but not greedy.
And between
--
and a new line or end of line.
This is for an ad hoc solution to thwart a particularly nasty kind of SQL Injection attack. More details on that here: