Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これについて何か考えはありますか?句読点で終わらないテキストのブロック(つまり、段落)の行を見つけようとしています。私は正規表現にまったく慣れていません。
乾杯!
/^.*[^\.!\?]$/
That regex will match any line that doesn't end in a period, a question mark, or an exclamation mark. What other punctuation are you looking for?