I am trying to remove pieces matching a text paragraph using a string - one of the text If the return value is not empty then 1. If the instrument type is "Bond" then the device is equal to 138 if the device is a smart coupon, the type of coupon is not empty and "zero compton "Is not equal to and the previous value is not of the current value There is no ebay, and iinstrument construction date is not equal to D-status 137. If the instrument is sensible BBG, then the previous value is not equal to the current value, and the date of creation of iiastrol is not d or d-1 - the position is equal to the previous position If the value is not manual and the previous condition is 138 or 137. If the specialty SECIDADADTE is zero, then if STCIDADATTE (has been typed as date) is innovation compared to the withdrawal (as has been typed in the date) then set the position of 136 "functional error" 3. If accumulation date ( DEBT_STRT_ACRL_DTE) is not zero and the instrument category is "Structured Product", and the fixed amount is different for a forum return value, which sets the status to 150, which is "non-blocking A functional error ".
What I want to remove is 'status 138', 'position 137', 'position 136', 'position 150'.
What have I done str_extract_all (x, '(s | s) tatus [a-z \ s] {1,10} [0- 9] {1,3} [^.]'). But this does not work by using regex matching in the
str_extract_all
, which uses the POSIX standard, which does not continue, seeing the new lines, you have to do it yourself the wanted.
Mail and Lieutenant; - sapply (vals, "\ n") [[1]], StrawEctract_L, "[SS] Titus (?: Is equal)? [0- 9] +") matches and lieutenant; - "Status 138" "Status 137" "Status 138" - GSUUB (fixed = true, "", "", GSUUB (fixed = true, "par", "", filter (length, matches)) # [1] "
Comments
Post a Comment