I have some data which looks like:

I want to remove rows 4 and 5 because they don't contain data preceding "xa".
My code is:
is.na(x$column)
But it returns with TRUE for row 4 but false for row 5. This is just an example but I have many other random pieces of data in the column, but I just want a way to select for when the data is "xaN", with n representing any integer.