Python string interception problem.

for example, I have a string whose content is:

Python has a rich and powerful library. It is often nicknamed glue language and can easily connect modules made in other languages (especially C/CPP). A common application scenario is to use Python to quickly generate a prototype of the program (sometimes even the final interface of the program), and then rewrite the parts with special requirements in a more appropriate language, such as the graphics rendering module in 3D games, which can be rewritten with C/CPP and encapsulated as an extension library that can be called by Python. It is important to note that you may need to consider platform issues when using extended class libraries, and some may not provide cross-platform implementations.

so I want to intercept from "it is often nicknamed glue language" to the nearest full stop. How do I intercept it?


check the matching result


actually it's easier to use split's method
assume that your string is your_str
you can use your_str.split (') if you want to get your sentence. [1] is fine

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2ad98-2ba5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2ad98-2ba5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?