Hello,
I want to recover all the string contained in a java program and even those who may be compose let me explain:
AndCode:System.out.println ( "test" + "eesf" + "+ fdfdgd") and here ( "test" + "eesf" + "+ fdfdgd)
I define a regular expression:Code:System.out.println ( "firstName:" + name.toString () + "lastName:" + new Object ()), and in this case ( "firstName:" + name.toString () + "lastName:" + new Object ())
Basically I look at the departure presence of a quotation mark followed dune following character finally another quote. My question is how are regular expression handled in java. Any help will be appreciated.Code:Matcher match = parser.find (line, "((\ "(.*) \ "(.*))+( \ \) | \ \) \ \ .)(.*))");
Bookmarks