substitute – POFTUT

Tagged: substitute


How To Use Sed To Find and Replace Text In Files or Standard Input

Sed or Stream Editor provides a lot of useful and dynamic functions. One of the most popular use case for sed is search and replace text in standard input output and text files. In this tutorial we will look various use cases of find and replace in sed. Substitute Command Sed have different verbs or commands to operate on given files or standard input lines. Substitute or s is one of...


Python Regular Expression Operations – Regex

Regular expression is popular topic in system administrators and developers. Regular expression is used to find structured text or string in single or multiple files. The best side of regular expression we can define whatever we want to match string in texts. Python supports and provides a lot of methods for regular expressions and related operations. In this tutorial we will look these regex functions in detail. Import Re or...

Enjoy this blog? Please spread the word :)