10-06-2014, 04:51 PM
Hi all, Hi Gintaras,
a little help on this one.
I have a str variable formatted as:
some text [text1] (text2) [text3] someothertext (text4)
I'd like to extract text1,text2,text3 and text4 from the the string,
BUT:
the string is not formatted exactly like that, ie the brackets and/or parenthesis pairs can have
any position and be 1 or 10 or any number
Simply, how to get ALL texts items in brackets or parenthesis in the string, whatever the number they are and their position.
Can't achieve that with findrx..
Thanks
a little help on this one.
I have a str variable formatted as:
some text [text1] (text2) [text3] someothertext (text4)
I'd like to extract text1,text2,text3 and text4 from the the string,
BUT:
the string is not formatted exactly like that, ie the brackets and/or parenthesis pairs can have
any position and be 1 or 10 or any number
Simply, how to get ALL texts items in brackets or parenthesis in the string, whatever the number they are and their position.
Can't achieve that with findrx..
Thanks