VBScript Regex: Match everything except multi-line pattern
问题 There is a very similar question to the question I need answered (Regex / Vim: Matching everything except a pattern, where pattern is multi-line?): I need to convert the following Vim regular expression into a VBScript regular expression: :%s/\%(^end\n*\|\%^\)\zs\_.\{-}\ze\%(^begin\|\%$\)// Basically, what I need to do is grab all the text before, between, and after methods (not including the code within the methods). I already have a VBScript regular expression to grab methods and the code