RegEx needed for Wikipedia infobox
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: OK, so here's what I need : We have the full XML of a Wikipedia article We need just the Infobox section I have tried various things, but my main issue seems to be not being able to matching "internal" curly brackets. Any ideas (or any regex you have managed to get this done?) For those of you who do not know what I'm talking about, here's a (somewhat abridged) example of what I'm trying to parse : http://regexr.com?38299 (What is needed is the part between {{Infobox ******* up to its corresponding closing brackets ( }} ). 回答1: Ok, I got it!