[1stString] : First string to find.
[2ndString] : Second string to find
Or Search ( Use "\|" )
/[1stString]\|[2ndString]
And Search (Use ".*" )
/[1stString].*[2ndString]/
Reference:
http://www.linuxquestions.org/questions/linux-software-2/searching-multiple-patterns-through-vi-editor-725155/
[2ndString] : Second string to find
Or Search ( Use "\|" )
/[1stString]\|[2ndString]
And Search (Use ".*" )
/[1stString].*[2ndString]/
Reference:
http://www.linuxquestions.org/questions/linux-software-2/searching-multiple-patterns-through-vi-editor-725155/
Comments
Post a Comment