daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Jul 18th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Supersedes:?[\r\n ]+[w-s]+[\r\n ]+(.*)[\r\n ]+Serial Numbers?:?[ \r\n]+.*?
  2.    
  3. import re
  4. result = re.search('Supersedes:?[\r\n ]+[w-s]+[\r\n ]+(.*)[\r\n ]+Serial Numbers?:?[ \r\n]+.*?', 'rnrnSupersedesrnNonernrnTriax PFG Interface Boards: Inova: P/N 01-903510-02 and Unity plus: P/N 01-903510-03rnrnService Serial Numbers:rnUS00000000-US99999999rnrn', re.S|re.M)
  5. result[1]
  6. 'Boards: Inova: P/N 01-903510-02 and Unity plus: P/N 01-903510-03rnrnService'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top