Hi, I'm trying to comment some statements from a database sql dump.
I have som data like this:
--
--
-- Role Membership
--
EXEC sp_addrolemember 'aspnet_ChangeNotification_ReceiveNotificationsOnlyAccess', 'User'
GO
EXEC sp_addrolemember 'aspnet_ChangeNotification_ReceiveNotificationsOnlyAccess', 'User'
GO
--
-- Definition for user :
--
So I get this: .*?--\n-- Role Membership\n--\n(.*?) selecting the first block
I try to selec the end with this: .*?--\n-- Role Membership\n--\n(.*?)\n--\n but it doesn't work.
What am I doing wrong ?