I am trying to compute the regular expression myself and to no avail if I can get the last bracket to disappear from the string.
For instance:
[The day the earth stopped]
I can only get:
The day the Earth stopped]
with the following RegEx code:
/(\[|\](^The ))\2/
I strive simply:
The day the earth stopped
Any help would be greatly appreciated. I spent 3 hours trying to figure it out on my own ... That I give up .: 3
source
share