regex - Ruby - how to pull out that is betweet two "points"? -


this question has answer here:

i have text this:

... sentence one. hsjdhsd jghdsjghjdskhgjksdh kjghdsjkg  sdgsdg dgds hfdhdf h fdh dfh sentence two. gdjshagjhsdga sdgjhsdkjgh adskjghdsa gs gfdgfdhfdhh ... 

and need pull paragraph text between strings (actually it's sentence) sentence one. , sentence two..

could me guys, please, how pull it?

thanks

looking @ have, start , end of sentence capital letter , period, respectively. can construct regular expression pulls out text between capital letter , first period comes after.

but may contrived example; looks may have types random keys in middle of keyboard, may not characteristics of actual gibberish.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -