I have a pattern like -
public static void myMethod(int Val , String Val){}
so public\static\void\myMethod(int\sVal\s,\sString\sVal)
but if my method have more space than one like public static it fails. So how to make a concrete pattern .
Moreover the part inside the bracket is not working, suggest me the way to resolve.