Python - Match a string without whitespace except newline at the end?
1388
Learning Regular Expressions
82797
Regex to match any character including new lines
29353
Best way to specify whitespace in a String.Split operation
103269
How to keep the spaces at the end and/or at the beginning of a String?
39116
sed : Ignore line starting whitespace for match
99234
How to split a string with whitespace chars at the beginning?
12397
how to count the exact number of words in a string that has empty spaces between words?
104246
Removing leading and trailing spaces from a string
10432
How can I match overlapping strings with regex?
62500
python regular expression replacing part of a matched string
93958
How to match hyphens with Regular Expression?
59025
Split a string by whitespace, keeping quoted segments, allowing escaped quotes
121124
regex to match word boundary beginning with special characters
78766
How can I replace end line with fixed text when the next line begins with a defined set of characters?
45463
How do I replace all line breaks in a string with  elements?
99390
Regexp that matches valid regexps
7986
How can I remove a trailing newline?