question: public List < String > splitStringWithDefaultDelimiterEscaped ( String inputString ) { String delimiter = configurationHelper . getProperty ( ConfigurationValue . FIELD_DATA_DELIMITER ) ; String escapeChar = configurationHelper . getProperty ( ConfigurationValue . FIELD_DATA_DELIMITER_ESCAPE_CHAR ) ; List < String > splitString = new ArrayList < > ( ) ; if ( StringUtils . isNotBlank ( inputString ) ) { String regex = "(?<!" + Pattern . quote ( escapeChar ) + ")" + Pattern . quote ( delimiter ) ; for ( String s : inputString . split ( regex ) ) { splitString . add ( s . replace ( escapeChar + delimiter , delimiter ) ) ; } } return splitString ; }
target:  Splits the input String based on the default delimiter, and also escapes delimiter.