What's the Language? Recently, the PPCG design leaderboard has been having some trouble parsing answer html headers. 

In this challenge you'll be taking your own shot at parsing answer headers.



Example Test Cases

These example inputs (NOT actual test cases), just so you can get the idea of how inputs might be like 

Input: &lt;h1&gt;Python 3, 32 bytes&lt;/h1&gt;
Desired Output: Python 3

Input: &lt;h1&gt;JavaScript, 13 chars / 32 bytes&lt;/h1&gt;
Desired Output: JavaScript

Input: &lt;b&gt;VeryBadlyFormattedHeader v3 : (32 bytes)&lt;/b&gt;


Spec

Your program should be 150 bytes or below

You will be given a line of an answer header's html, you'll need to try to do your best to successfully extract the language. Input may contain unicode characters.

Output case matters.

Tests

Github Gist with test cases

There is one test case per line. The format is:

&lt;lang_name&gt; - &lt;rest_of_the_line_is_the_header&gt;


Scoring

Your score is:

 Number Correct
----------------
  Total Number


(which is a percent)

Tie-breaker is shortest code.
Bash, 100%, 100 bytes

sed sX..s.2./s.XX|grep -Po '(?&lt;=&gt;)[^&lt;]+?(?=(,(?! W)| [-&amp;–5]| ?&lt;| [0-79]\d| ?\((?!E|1\.)))'|head -1


Try it online on Ideone.

Verification

$ wget -q https://gist.githubusercontent.com/vihanb/1d99599b50c82d4a6d7f/raw/cd8225de96e9920db93613198b012749f9763e3c/testcases
$ grep -Po '(?&lt;= - ).*' &lt; testcases &gt; input
$ grep -Po '^.*?(?= - )' &lt; testcases &gt; output
$ while read line; do bash headers.sh &lt;&lt;&lt; "$line"; done &lt; input | diff -s - output
Files - and output are identical