How to replace string in files except with a line begins with #
104310
How to only substitute lines that match several patterns in sed?
22400
How do I trim a file extension from a String in Java?
24525
How to replace a string on the 5th line of multiple text files?
64426
How do I add text to the beginning of a file in Bash?
107006
Replace first line of a text file in Java
119446
How to zero pad numbers in file names in Bash?
1451
How do I remove lines of a file which contain a specific string?
112581
Replacing pattern after nth match is found on each line?
107363
Delete line starting with a word in Javascript using regex
57242
How to search and replace text in a file?
117607
How to do a recursive find/replace of a string with awk or sed?
41391
How to perform replacements defined in one file on another file
94611
Replace a string including a slash "/" using sed command
73011
Unix tools: what if a file is named minus something?
158532
replace a string with sed from specific lines
22740
Delete the nth line from a matched string (which only occurs once in the file)
29766
How to delete whole text from the beginning of a line with a certain string