What is regular expression in python?


Could someone tell me what is Regular Expression in Python?



A regular expression in Python refers to the set of strings that matches it, the functionality is to check if any particular string matches with the given expression. The regular expressions can be concatenated to form new regular expressions. In general, if A and B are regular expressions, then AB is also said to be a regular expression. The regular expression included both ordinary and special characters.


If you want to unleash your potential in this competitive field, please visit the Python course page for more information, where you can find the Python tutorials and Python frequently asked interview questions and answers as well.


This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.