I am trying to parse a C language code in java and I encountered statements like
printf("hello world");
I was using Pattern.compile("printf/(/".*/"/)"); but was getting an error stating that
/( is not a valid escape sequence
Please give a way to tackle this kind of scenario.