Regular Expressions 101

Community Patterns

parse SQL statements and get values

1

Regular Expression
PCRE (PHP <7.3)

/
(?<=\b(create|alter|drop)\s+(procedure|proc|table|trigger|view|function)\b\s\[dbo\].)\[.*?\]
/
im

Description

but it does not work. How do I make it work? It will be used in C#

Submitted by anonymous - 10 years ago