{"id":1007,"date":"2024-04-17T17:35:54","date_gmt":"2024-04-17T12:05:54","guid":{"rendered":"https:\/\/isdtp.selvamtech.edu.in\/?p=1007"},"modified":"2024-05-06T10:13:09","modified_gmt":"2024-05-06T04:43:09","slug":"python-programming-v2-mcq","status":"publish","type":"post","link":"https:\/\/isdtp.selvamtech.edu.in\/?p=1007","title":{"rendered":"String &#038; Regular Expression &#8211; MCQ"},"content":{"rendered":"<p style=\"text-align: justify;\"><strong>String:<\/strong><\/p>\n<p style=\"text-align: justify; line-height: 150%;\"><span style=\"font-family: Roboto;\">A string is a data type used in programming, that is used to represent text rather than numbers. A string is a sequence of characters and can contain letters, numbers, symbols and even spaces. Strings are an essential data type in programming languages, as they allow programmers to work with textual data. Strings are used to represent characters, words, sentences, and even entire documents.<\/span><\/p>\n<p style=\"text-align: justify;\"><strong>Regular Expression: <\/strong><\/p>\n<p style=\"text-align: justify; line-height: 150%;\"><span style=\"font-family: Roboto;\">A RegEx, or Regular Expression, is a sequence of characters that forms a search pattern. RegEx can be used to detect the presence or absence of a text by matching it with a particular pattern and also can split a pattern into one or more sub-patterns. Regular expressions are used in string-searching algorithms for &#8220;find&#8221; or &#8220;find and replace&#8221; operations on strings, or for input validation.<\/span><\/p>\n<div class=\"wp-block-pdfemb-pdf-embedder-viewer\"><a href=\"https:\/\/isdtp.selvamtech.edu.in\/wp-content\/uploads\/2024\/04\/Python-String-Regular-Expressions-QB.pdf\" class=\"pdfemb-viewer\" style=\"\" data-width=\"max\" data-height=\"max\" data-toolbar=\"top\" data-toolbar-fixed=\"on\">Python-String &amp; Regular Expressions QB<\/a><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>String: A string is a data type used in programming, that is used to represent text rather than numbers. A string is a sequence of<span class=\"more-button\"><a href=\"https:\/\/isdtp.selvamtech.edu.in\/?p=1007\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">String &#038; Regular Expression &#8211; MCQ<\/span><\/a><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[],"class_list":["post-1007","post","type-post","status-publish","format-standard","hentry","category-python-programming"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1007"}],"version-history":[{"count":3,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1007\/revisions"}],"predecessor-version":[{"id":1011,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1007\/revisions\/1011"}],"wp:attachment":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}