I want to detect the presence of ASCII
control characters in my text file , excluding the control characters CR and LF
i am trying
grepl("[\x01-\x09\x11-\x12\x14-\x1F\x7F]",file$text)
where a sample file text looks like
but when i run the above grepl , i get the result as TRUE whereas i should be getting a False.
Sample text (open in notepad+
)
Basically i want to detect the presence of ASCII SYMBOLS , except for CR and LF