Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

regex find all sentences python

text = "This is a good sentence. This is another good 1! thanks"

sentences = re.findall(r"[A-Z].*?(.s|?s|!s)", text)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #regex #find #sentences #python
ADD COMMENT
Topic
Name
7+1 =