Tagged: regex

0

What Is “server_name” in Nginx Web Server Configuration?

Nginx web server provides a lot of different configuration about the web service. Some of the configurations are used very often. server_nameis one of them which can be miss interpreted. Single Domain Name In the old days internet was so little. There was less site and domain names than today....

0

How To Exclude with Grep In Linux?

grep is very useful tool used by a lot of tech guys. grep provides different functions to match given text. We have all ready mentioned these useful options of grep. In this tutorial we will look different ways to exclude in grep. Linux egrep Command Tutorial with Examples Exclude with...

1

How To Use Regular Expression – Regex In Bash Linux?

Linux bash provides a lot of commands and features for Regular Expressions or regex. grep , expr , sed and awk  are some of them. Bash also have =~ operator which is named as RE-match  operator. In this tutorial we will look =~  operator and use cases. More information about regex command cna be...

1

Linux egrep Command Tutorial with Examples

Linux provides grep for text filtering. But in some situations we may need more extended tool to match given pattern in given text files. This tool is called Extended Global Regular Expression Print or simply egrep . egrep provides extended features over regular grep tool. Syntax Syntax of  egrep command...

1

Awk Regular Expression Commands and Examples

Awk is very popular and useful tool for text and string manipulation. Regex or regular expression is generic language used to define text and string structures. Awk can Syntax Regular expression for awk can be used with the following syntax.

REGULAR_EXPRESSION is the regular expression we want to run ....

0

Javascript Regular Expression Operation

Regular expression is the language to define specific pattern for text data. Javascript supports regular expression. Regular expression is generally used like below. We will look different type of usage examples of regular expression.

str is the text data we want to regex. re is our regex object to regex. re.exec() gets...

0

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...

1

How To Grep Text Files With Powershell Grep or Select-String Cmdlet In Windows?

Linux provides tool named grep for filter text data or output according to given string or regular expression. This tool is popular amongst Linux system administrators. On the other side Windows operating systems generally lacks this tool and its functionality up to Powershell. Powershell provides Select-String commandlet to provide similar features...

Enjoy this blog? Please spread the word :)