I am new to android. I need to extract various sub strings from a string in my application.
That extraction of sub-strings are depends on various and different delimiters and combination of that.
The pattern of string delimiters is like :
xxx|xxx|#yyy|ww~aaaaa|ww~ii|ww~t|*|yyy
Now i need to get all xxx, yyy, ww, ii, t from the strings by using all symbols as delimiters.
There is a huge string from which above shown is the part of string. Rest is repeating as above and makes a large string.
So how to do this.
Thank you.
will work for you.
Here,
\Wmeans anon-alphanumeric character.+meansone or more than one.