1 / 6

What is RegEx? Regular Expression in Python & Meta Characters

We have explained about regular expression in this blog. Basically, Regex is a special sequence of characters that helps you match other strings.

Download Presentation

What is RegEx? Regular Expression in Python & Meta Characters

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RegEx In Python What's the first thing you need to know about RegEx? Hold on! 'Cause, that's what we are going to explain via this tutorial & that will surely help to make you understand thoroughly about whole regular expressions' concept.

  2. What is RegEx A regular expression (regex, regexp or re) is a special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax held in a pattern. Regular expression patterns are assembled into a set of byte codes which are then executed by a matching engine written in C

  3. basic regular expression through the following image The caret sign(^) serves two purposes. Here, in this figure, it’s checking for the string that doesn’t contain upper case, lower case, digits, underscore and space in the strings. In short, we can say that it is simply matching for special characters in the given string.

  4. common usages of regular expressions • The most common usages of regular expressions are: • Search a string (search and match) • Finding a string (findall) • Break string into a sub strings (split) • Replace part of a string (sub)

  5. The basic usages of commonly used metacharacters are shown in the following table:  

  6. Regular expression CONTACT US We serve in an industry built on trust and it takes years to build this trust. Trust can be achieved through proper communication, support, availability, experience and many more. Address: #D-258, FIFTH FLOOR, PHASE-8 A INDUSTRIAL AREA, MOHALI Tel:(+91) 8968488244 Site: https://blog.paradisetechsoft.com/regex-in-python/

More Related