Possible Duplicate:
My regex is not working properly
Suppose I have long text. From following text I need only abstract part. How do I avoid text between {{ }}. Thanks
`
{{ Info extra text}}
{{Infobox film
| name = Papori
| released = 1986
| runtime = 144 minutes
| country = Assam, {{IND}}
| budget = [[a]]
| followed by = free
}}
Albert Einstein ( /'ælb?rt 'a?nsta?n/; German: ['alb?t 'a?n?ta?n] ( listen); 14 March 1879 – 18 April 1955)
was a German-born theoretical physicist who developed the theory of general relativity, effecting a
revolution in physics. For this achievement, Einstein is often regarded as the father of modern physics
and one of the most prolific intellects in human history.`
OUTPUT:
Albert Einstein ( /'ælb?rt 'a?nsta?n/; German: ['alb?t 'a?n?ta?n] ( listen); 14 March 1879 – 18 April 1955)
was a German-born theoretical physicist who developed the theory of general relativity, effecting a
revolution in physics. For this achievement, Einstein is often regarded as the father of modern physics
and one of the most prolific intellects in human history.
What I did:
Edit: Bart’s comment is correct.
Might consider this alternative: