Groups And Range Of Characters

In regular expression, sometimes we need to match a group of characters or a range of characters. These kind of expressions are written within a bracket notation. In this post, we will explore these kind of expressions with examples.List of Range ExpressionsThe following table demonstrate the grouped expressions and their meaning. Expression Meaning a|b Find … Read more

Regular Expression Flags

In the previous article, you learned about regular expression being pattern of search. Regular expression uses flags that are optional and perform searches that are global or case-insensitive. You can use these searches separately or together to do search.List of Flags Here is a list of flags commonly used with regular expressions. Flag Meaning i … Read more

Regular Expression Basics

The regular expression is sequence of characters that makes a pattern. The pattern is used for searching text in data. You can create a simple pattern or a complex regular expression in JavaScript. The regular expression does two kind of work – search and replace text using several of available string methods.SyntaxThe regular expression has … Read more

JavaScript Do-While Loop

The JavaScript do-while loop is similar to the while loop about which you studied earlier. Instead of testing the condition at the beginning of the loop, a do-while loop test the condition after the loop body. This guarantees that the loop will execute at least once.Syntax – do-whileHere is the syntax of the do-while loop. … Read more

JavaScript While Loop

The JavaScript version of while loop is similar to other programming languages such as C++, Java. The loop takes initial value, checks for condition, and execute the loop and finally increment the loop. The section below describe the syntax and each component of the JavaScript while loop. Syntax – <mark style=”background-color:rgba(0, 0, 0, 0);color:#b81414″ class=”has-inline-color”>While</mark> … Read more

JavaScript For Loop

JavaScript for loop is similar to the for loops in other programming languages like C, C++, and Java. The for loop takes and initial value, checks for terminating conditions, and increment the iteration as long as the continue is true.This article we will talk about different for loop structures in JavaScript. Some of them are … Read more

C++ Reference Variable

C++ language allows you to create a new type of variable called reference variable. What Is A Reference Variable ? A variable that store values is called a value variable. The C++ reference variable is an alias for a value variable. It refers to the memory location of the value variable like pointer. Any changes … Read more

C++ String Basics

C++ strings store textual information. The string variable has a sequence of characters enclosed by double quotes. In C++ string basics, we cover following topics. Types of strings How to initialise strings ? How to read input strings ? Types Of StringsA string is a character array terminated by a null (\0)character. The C++ language … Read more

Assignment Operators in Java program

One of the operators in java is the assignment operator that helps assign value to variables and other identifiers. This is a simple program to demonstrate and learn the basics of Java Programming. It is intended for beginners of Java language.We are using JDK 8u111 with Netbean IDE 8.2 installed on a Windows 7 64-bit … Read more

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Exit mobile version