I need a regular expression to get the text out from between [ and ] within a sentence.
Example Text:
Hello World - Test[**This is my string**]. Good bye World.
Desired Result:
**This is my String**
The regex that I have come up with is Test\\[[a-zA-Z].+\\], but this returns the entire **Test[This is my string]**
should do what you want.
Read up on lookaround assertions.