I'm trying to extract alpha numeric characters from strings that also have some info within square brackets.
Ex:
- this is some sample text [first sentence]
- [second sentence][important] some more sample text
- [not important] this is sample as well
I want the output to be:
- this is some sample text
- some more sample text
- this is sample as well
I tried using negative look ahead, extracting patterns before'[' (works only for a few cases).
sqlto feature in this?" *\[.*?\] *"with""?