If the file everyone.plslooks like: $ cat everyone.plsFile 1515 = foo.txtFile 1516 = foo=.xls. Code: sed 's/\ ( [ [:blank:]]\). SED Smalltalk is an object-oriented, dynamically typed reflective programming language.Smalltalk was created as the language underpinning the "new world" of computing exemplified by "human–computer symbiosis". Here, ‘ c ‘ indicates the change. This can usually even work when pattern space contains bytes which are not parts of a character. Da tes IQTo.oqo Is t jopco^n' 1 1 -^ Dat>:-s im ft-^J 2nd Bark Telle>" 3rd Sslesr.sr Dates 1 o^f^. *” means any character sequence. For example: $ cat sed.txt sed scriting@linuxcareer sed scriting@linuxcareer sed scriting@linuxcareer sed scriting@linuxcareer sed scriting@linuxcareer $ sed s/@[^@]*$// sed.txt sed scriting sed scriting sed scriting sed scriting sed scriting 2nd Dates TC'-o_'5A9 3rd A th Shopowrer Dates 1Q26~^2 ^th Dates _U a t e s Dates R e 1 i g i o n … So I have been using the following general syntax to be able to remove all text within a configuration file after the '=' sign: cat tmp.txt datee='10' alter='purple' hr='green' new_val='100'. 2. And came into the GNU RE but is not a standard in an RE (not portable to a non-GNU sed). sed -n 's|HTTP/1.0” 200|&\n|;P'