regular expression – POFTUT

What Is Wildcard Character(s)?

What Is Wildcard Character(s)?

The wildcard character generally acts like an asterisk character. The wildcard is generally used in programming, scripting, IT in order to express special meanings for different cases. Wild Character or Wildcard Character or Wildcard Well, the character is actually not important but the function is more important for the wildcard. So different sayings are not … Read more

Regex (Regular Expression) OR Logic Alternation Tutorial with Examples

Regex (Regular Expression) OR Logic Alternation Tutorial with Examples

A regular expression is a formation in order to match different text or words or numbers according to the given regex pattern. OR is a logic term used to provide selection choice from multiple choices. In this tutorial, we will explain what is Regex OR logic and how can we implement Regex OR in different … Read more

Regex Space, Whitespace, Tab Usage Examples

When dealing with the text files such as log files, user list, server list etc we can use regex for formally structured files. Space, white-space, and tab are popular separating elements used in regex or CSV files. In this tutorial, we will examine how to use regex with space, whitespace, tab or no space, no whitespace … Read more

How To Create Case Insensitive Regex?

Regex is used given text according to different and flexible patterns. It provides a lot of different patterns which can match given text or line. The default behavior of the regex is case sensitive which means upper and lowercase letters are interpreted as different. We can match regex case insensitive or ignore case sensitivity. Case Insensitive … Read more

PHP Glob() Function To Match Path, Directory, File Names with Examples

glob is a general term used to define techniques to match specified pattern according to rules related Unix shell. Linux and Unix systems and shells also supports glob and also provide function glob() in system libraries. In this tutorial we will look glob() function usage in PHP programming language. Exact String Search We will start with a simple … Read more

Python Glob() Function To Match Path, Directory, File Names with Examples

Python Glob() Function To Match Path, Directory, File Names with Examples

glob is a general term used to define techniques to match specified patterns according to rules related to Unix shell. Linux and Unix systems and shells also support glob and also provide function glob() in system libraries. In this tutorial, we will look glob() function usage in Python programming language. Import Glob Module In order to use glob() and … Read more

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. System administrators were prefer to … Read more

How To Grep Multiple Strings, Patterns or Regex in A Text File In Linux?

grep  provides a lot of features to match strings, patterns or regex in a given text. One of the most used feature is to match two or more, multiple string, patterns or regex. In this tutorial we will look different examples about these features. If you need more general tutorial about regex please look following article. … Read more

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 -v  Option The basic way … Read more

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 found in the following tutorials. … Read more