Q:

How to extract multi line and white space including text from another text using RegEx?

This is my text:
[[>
Check this out!

And also this one!

Well, I also have this 
[[MyVariable>5:15]]

I want to extract:
Check this out!

And also this one!

Well, I also have this

and
MyVariable

and
5:15

When it's only [[MyVariable>5:15]] I can extract values using this RegEx: /\[\[(.*)\]\]/g. However, I'm unable to get multi-line version which starts with [[>. 
I tried \[\[\>(\s\S)\]\] with no luck.
How do I get what I want?
(I'm using JavaScript)

A:

I see [[..>..]] as a structure which you need to deal with it. If you want to capture everything before and after >:
\[\[([^>]*)>([^[\]]*)

Live demo

