In a regular data frame you use grepl like this:
Sub.DF <- DF[grepl('test', DF$twt_txt),]
As long as an SPDF works like that then this should be what you want. You won't even need to make the Sub.DF object if you just want to plot it. If you use ggplot2 or ggmap or something then just use data=DF[grepl('test', DF$twt_txt),]