I have some text with several special charakters in it and i want to get the text between the special charakters. I am gogin fin with something like this:
=== TestText ===
This works with the regex:
/(?:^|\s)=== (.*?) ===(?:\s|$)/g
There i get TestText
.
But now my Problem is when i want to get some text between two square brackets.
[[This is a text]]
with the regex : /(?:^|\s)\[\[ (.*?) \]\](?:\s|$)/g
i don't get any result.
can you help me ?
Thank you in Advance!