Guest User

Untitled

a guest
Jun 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. $bulletin_page_html =~ s/\A\s+//s;
  2. $bulletin_page_html =~ s/\s+\Z//s;
  3.  
  4. if ($bulletin_page_html =~ /<[A-Za-z0-9_]+\s*[^>]*?>executive\s*summary/is)
  5. {
  6. $bulletin_page_html =~ s/\A.*(<[A-Za-z0-9_]+\s*[^>]*?>executive\s*summa
  7. y)/$1/is;
  8. $bulletin_page_html =~ s/\A<([A-Za-z0-9_]+)\s*[^>]*?>executive\s*summar
  9. .*?<\s*\/\s*\1\s*>\s*//is;
  10. $bulletin_page_html =~ s/<b\s*[^>]*>.*\Z//is;
  11. $bulletin_page_html =~ s/<\/div>//isg;
  12. $bulletin_page_html =~ s/<div>//isg;
  13. $bulletin_page_html =~ s/<\/div>//isg;
  14. $bulletin_page_html =~ s/<div\s+[^>]*>//isg;
  15. if ($bulletin_page_html =~ /<\/p>/is) {
  16. $bulletin_page_html =~ s/\A.*?(<p)/$1/is;
  17. $bulletin_page_html =~ s/(\A.*)<\/p>.*\Z/$1/;
  18. $bulletin_page_html =~ s/\A\s+//s;
  19. $bulletin_page_html =~ s/\s+\Z//s;
  20. $bulletin_page_html =~ s/\A<p.*?>//is;
  21. @summary_lines = split /\s*<\/p>\s*<p\s*[^>]*?>\s*/is, $bulletin_pa
  22. e_html;
  23. } elsif (($bulletin_page_html =~ /<p>/is) ||
Add Comment
Please, Sign In to add comment