Here you can find the source of unescapePhpSingleQuotedStringContent(String escapedContent)
static String unescapePhpSingleQuotedStringContent(String escapedContent)
//package com.java2s; //License from project: Apache License public class Main { public static final char CHAR_BACKSLASH = '\\'; public static final char CHAR_SINGLE_QUOTE = '\''; static String unescapePhpSingleQuotedStringContent(String escapedContent) { return escapedContent.replace("\\\\", Character.toString(CHAR_BACKSLASH)).replace("\\'", Character.toString(CHAR_SINGLE_QUOTE)); }//from ww w.j a v a 2 s.c o m }