Regular Expressions 101

parse SQL statements and get values

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
(?<=\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