Below is my text, in this regex should find the text/content not starting with [ that means its a shortcode.
[fullwidth blah="1"]
text line lorem ipsuim blah blah
[divider value="80"]
another line with extra space above
[text] this is test[/text]
another line
[/fullwidth]
anything found in [fullwidth] that starts without bracket [ needs to be wrapped in [text]anything[/text]
so the final output will become
[fullwidth blah="1"]
[text]text line lorem ipsuim blah blah[/text]
[divider value="80"]
[text]another line with extra space above[/text]
[text] this is test[/text]
[text]another line[/text]
[/fullwidth]