Code:
Dim db As Database
Dim rst As Recordset
Dim sSQL As String
Dim sMemo As String
Dim sParsedData As Variant
Dim i As Integer
Dim sMemoConv As String
Set db = CurrentDb
sSQL = "SELECT * FROM tbl_Memos"
Set rst = db.OpenRecordset(sSQL)
rst.MoveFirst
Do While rst.EOF <> True
sMemo = rst.Fields("memofield")
sParsedData = Split(sMemo, vbCrLf)
sMemoConv = ""
For i = 0 To UBound(sParsedData)
sline = sParsedData(i)
If Left(sline, 4) <> "Ship" Then
sMemoConv = sMemoConv & sline & vbCrLf
End If
Next i
rst.Edit
rst.Fields("MemoField").Value = sMemoConv
rst.Update
Debug.Print sMemoConv
rst.MoveNext
Loop
rst.Close
Set db = Nothing
this will parse your memo fields and remove any line that starts with "SHIP", you'll have to insert your own table and field names though. Just one word of warning. I am running an update on the same field I'm processing which is a dangerous practice but it's just an example. You will likely want to perform the update on a separate field to make sure yours works before implementing it.