Question: I have following in string

```
String checker="The United States is a federal union of 50 states. The original 13 states were the successors of the 13 colonies that rebelled against British rule."

```

I want to breakup it into subparts such that

```
String Values[]=new String[20];
Value[0]="The United States is a federal union of 50 states."
Value[1]="The original 13 states were the successors of the 13 colonies that rebelled against British rule."

```

That is I want to split it based on "`.`" how can I do it? remember "`.`" is used for any character in regular expression that's why I got stuck

What to write in

```
values[]=checker.split("regular exprression..........");

```

Answer: 
```
(?<=\.)

```

For java try `(?<=\\.)`

Try this.Split by this.See demo.

<http://regex101.com/r/lZ5mN8/20>

use a positive lookbehind to make sure the split happens just after `.` or there is a `.` before the point of split.
you can use a split function. The \ is to specify the '.' character

```
for ( String s : checker.split( "\\." ) )
        System.out.println( s );

```