examples/webconsole/resources/js/jquery/jquery.dataTables.js
function _fnDataToSearch ( sData, sType )
		{
			if ( typeof DataTable.ext.ofnSearch[sType] === "function" )
			{
				return DataTable.ext.ofnSearch[sType]( sData );
			}
			else if ( sData === null )
			{
				return '';
			}
			else if ( sType == "html" )
			{
				return sData.replace(/[\r\n]/g," ").replace( /<.*?>/g, "" );
			}
			else if ( typeof sData === "string" )
			{
				return sData.replace(/[\r\n]/g," ");
			}
			return sData;
		}
function _fnDataToSearch ( sData, sType )
		{
			if ( typeof DataTable.ext.ofnSearch[sType] === "function" )
			{
				return DataTable.ext.ofnSearch[sType]( sData );
			}
			else if ( sData === null )
			{
				return '';
			}
			else if ( sType == "html" )
			{
				return sData.replace(/[\r\n]/g," ").replace( /<.*?>/g, "" );
			}
			else if ( typeof sData === "string" )
			{
				return sData.replace(/[\r\n]/g," ");
			}
			return sData;
		}
function _fnDataToSearch ( sData , sType ) { if ( typeof DataTable . ext . ofnSearch [ sType ] === "function" ) { return DataTable . ext . ofnSearch [ sType ] ( sData ) ; } else if ( sData === null ) { return '' ; } else if ( sType == "html" ) { return sData . replace ( / [\r\n] / g , " " ) . replace ( / <.*?> / g , "" ) ; } else if ( typeof sData === "string" ) { return sData . replace ( / [\r\n] / g , " " ) ; } return sData ; }
Convert raw data into something that the user can search on
@param {string} sData data to be modified
@param {string} sType data type
@returns {string} search string
@memberof DataTable#oApi
Convert raw data into something that the user can search on