regex replace cuts off all characters after end of string
2360
My regex is matching too much. How do I make it stop?
45463
How do I replace all line breaks in a string with  elements?
127525
Regular Expression for getting everything after last slash
55919
Why is ReplaceAll behaving like this?
51287
Conditionally replace regex matches in string
26682
PHP regular expressions: No ending delimiter '^' found in
106813
C# string replace does not actually replace the value in the string
129166
Odd behavior replacing string with special replacement patterns in IE7|8
126454
Java replace Matcher
1978
What to do Regular expression pattern doesn't match anywhere in string?
111536
Java; String replace (using regular expressions)?
65892
Why String.replaceAll() don't work on this String?
28702
How to remove line breaks (no characters!) from the string?
8037
Remove HTML tags from a String
53620
Java split() method strips empty strings at the end?
153726
Remove all special characters from a string
123652
Returning only part of match from Regular Expression