10 likes | 33 Views
We have explained about regular expression in this blog. Basically, Regex is a special sequence of characters that helps you match other strings.
E N D
EFFECTIVE WAYS OF STUDYING BEFORE EXAMS WHAT IS REGEX? REGULAR EXPRESSION IN PYTHON & META CHARACTERS 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. RegEx In Python Regular expression patterns are assembled into a set of byte codes which are then executed by a matching engine written in C. Regular expressions are widely used in the world of UNIX. common usages of regular expressions 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. Meta Characters Meta characters are characters or we can say its a sequence of such characters, that holds a unique meaning specifically in a computing application. VISIT: HTTPS://BLOG.PARADISETECHSOFT.COM/REGEX-IN- PYTHON/