java - Extraction of subsequences that end with point and space by regular expression -


hy want extract sub sentences of sentence regular expression:

it learn od fg network layout. kdsjhuu ddkm networ.12kfdf. learndfefe layout. learn sdffsfsfs. sddsd learn fefe.

i couldn't write correct regular expression pattern.compile.

this expression:([^(\\.\\s)]*)([^.]*\\.)

actually, need way writing "read everthing except \\.\\s

sub sentences:

  • it learn od fg network layout.
  • kdsjhuu ddkm networ.12kfdf.
  • learndfefe layout.
  • learn sdffsfsfs.
  • sddsd learn fefe.

just split string regex "\\. "

 string[] arr= str.split("\\. "); 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -