Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. (.*) COs?[(.*)|[.*]|{.*}|''.*''|".*"](.*)
  2.  
  3. s/(.*) COs?[(.*)|[.*]|{.*}|''.*''|".*"](.*)/$1 CO $2
  4.  
  5. 3M CO 'A'(MINNESOTA MINING AND MANUFACTURING COMPANY)
  6.  
  7. 3M CO A'(MINNESOTA MINING AND MANUFACTURING COMPANY)
  8.  
  9. (.+?)s+COs+(['"].+?['"])([([{]).+?([)]}])
  10.  
  11. (.+?) # anything before Co;
  12. (['"].+?['"]) # the quotation part; and
  13. ([([{]).+?([)]}]) # inside brackets included bracket, which we can use escape if required.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement