Replace all words before the start of the first word (Regex and Ruby)
2360
My regex is matching too much. How do I make it stop?
112581
Replacing pattern after nth match is found on each line?
136176
How can I capitalize the first letter of each word in a string in Perl?
104863
How can I rename a lot of files using a regex?
111536
Java; String replace (using regular expressions)?
124675
Efficiently reverse the order of the words (not characters) in an array of characters
32036
Regex.Match whole words
28187
How to replace the first occurence in an expression instead of replacing all?
85973
Replace a string before a certain line
71954
Regular expression to stop at first match
34859
Ruby, remove last N characters from a string?
107363
Delete line starting with a word in Javascript using regex
138810
Replace last part of string
78766
How can I replace end line with fixed text when the next line begins with a defined set of characters?
39910
How do I replace the *first instance* of a string in .NET?
51715
How can I prepend a tag to the beginning of several files?
108858
match until a certain pattern using regex