My question is as follows, I have the following content that comes from a table in a database and I would like to use a regular expression or if you have something better, just separate the contents from within the brackets.
[pt-br]
What is Lorem Ipsum?
Lorem Ipsum is simply dummy print text and composition industry. Lorem Ipsum has been the standard text of the industry since the 1500s, when an unknown printer took a type galley and scrambled it to make a specimen type book. He survived not only five centuries, but also the leap to electronic composition, remaining essentially unchanged. Was popularized in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with such as Aldus PageMaker, including versions of Lorem Ipsum.
[/pt-br]
[en-us]
What is Lorem Ipsum?
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
[/en-us]