Easy Quiz on Regular Expression in python part 1

Quiz on regular expression in Python part 1 (itvoyagers.in)

Quiz on Regular Expression in python part 1 Quiz on regular expression in python will help learners to train themselves for interviews. Also it helps them to test their knowledge about regexes in python. Other related quizzes Other related concepts We are aiming to explain all concepts of Python in easiest term as possible. ITVoyagers … Read more

Functions in ‘re’ module(Part I)- Match vs Search

match vs search (itvoyagers.in)

Functions in ‘re’ module(Part I)- Match vs Search re module To use patterns in python we need to use re module in our code.Syntax import re This will enable us to define different patterns and to call different methods of re module. Methods in Regular Expressions match() The match() method only find matches if they … Read more

Metacharacters or Regular Expression Patterns

Metacharacters (itvoyagers.in)

Metacharacters or Regular Expression Patterns The (+,?,*,^,$,(,),{,},[,],|,\) are the control characters , except these characters all other characters can match themselves.If you don’t want any control characters then add backslash before them. You can also check regular expression Regular Expression Table of patterns/metacharachters and their description. Points to remember: 1. A dot (.) represents any … Read more

Regular Expression

Regular Expression (itvoyagers.in)

  Regular Expression in python   What is Regular Expression?Regular Expression is a powerful tool in text processing toolbox.Regular expression can be used to define text patterns.You can use them to verify whether given inputs match to the patterns or not, also to find different trends in string matching.Regular expressions are also called as regex … Read more