The grep tool has the following options to use regular expressions: -E : String is read as ERE (Extended Regular Expressions) -G : String is read as BRE (Basic Regular Expressions) -P : String is read as PRCE (Perl Regular Expressions) -F : String is read literally. Print Lines Match...
Database: javaTpoint Collection: student Document: Five documents that contain the detailsofthe students >db.student.find() { "_id" : ObjectId("56254d4fdf2222265r4g12ds3d65f"), "name" : "Mick", "Course" : "btech", "batch_year" : 2018, "language" : ["c++", "java", "python...
Regex Tutorial | Regular Expression with Regular Expression in Java, Regular Expression in PHP, Regular Expression in Python, Regular Expression in JavaScript etc.
The rename command is mostly used to search a string and replace it with another string Syntax: rename 's/string/other string/' Example: rename 's/text/txt/' * Look at the above snapshot, all the 'text' are converted into 'txt'. ADVERTISEMENT You can also replace a string with the ...