I have a text file in which there are lots of vba functions are written like below -
function functionName1()
some code
End function
function functionName2()
some code
End function
function functionName3()
some code
End function
I want a regex pattern in java which can identify all functions with there matching "end function" and return all the identified function from the file.
Note- Functions are written in multiline not in single line.
Aucun commentaire:
Enregistrer un commentaire