Pastebin

Paste #1424: regexp

< previous paste - next paste>

Pasted by mmo

Download View as text

STRING TO MATCH:
NAME ( Greek : ÎÏιÏÏοÏέÎ»Î·Ï Aristotel&amp;#x0113;s; 384 BC - March 7, 322 BC ) was an ancient Greek philosopher. Student of Plato     and teacher of Alexander the Great.

DATE_MATCHING_REGEXP:
(January|February|March|April|May|June|July|August|September|November|December)?\s*[0-9]*,?\s*[0-9]+\s*(BC|AD)?

FULL REGEXP:
<Q_TARGET> \(\s*.*?(?P<answer>"+DATE_MATCHING_REGEXP+")\s*-\s*"+DATE_MATCHING_REGEXP+"\s*[^)]\)

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.