Need help understanding Search Patterns
I'm totally confused with search patterns and how to use it.
I know it's what I need to help with refactoring some code that I'm working on, but I cannot figure this dialog out.
As an example, I want to find occurances of this:
Private _DoSomething As Boolean = True
Public Property DoSomething() As Boolean
Get
Return _DoSomething
End Get
Set(ByVal value As Boolean)
'A comment might be here or not.
_DoSomething = value
End Set
End Property
I have several code files with the same property. I need to essentially delete that property from all those code files.
How might I go about creating a pattern that matches that property syntax, or is that not possible?
Any suggestions?
Thanks,
Mike
Please sign in to leave a comment.