my text is like this;
[name]JAAN JOHN[/name]
[cell]09178656469[/cell]
[city]Dhaka[/city]
I want to get text in between each of the above [ ] quotes using regex. Please pardon me since I searched alot this site but unable to get my required answer. Please help!
EDITED:
For example, I want to get the result like this:
Name: JAAN JOHN
Cell #: 09178656469
City: Dhaka
How to get this result?
[ ]". I suspect you don't mean that; you mean between each of the[tag]and[/tag]pairings, right? e.g. you want to extract "JAAN JOHN"