• Very interesting Jason!

    I want to do something like that but also ignoring the matches inside of comments (line comments or block comments).

    Does anyone have a good idea about how to do it? I was thinking in using regular expressions, but how in SQL Server!