{"id":20,"date":"2011-08-14T21:35:00","date_gmt":"2011-08-14T21:35:00","guid":{"rendered":"http:\/\/www.automationrepository.com\/?p=20"},"modified":"2011-10-09T00:30:32","modified_gmt":"2011-10-08T19:00:32","slug":"all-about-regular-expressions-in-qtp","status":"publish","type":"post","link":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/","title":{"rendered":"All About Regular Expressions in QTP"},"content":{"rendered":"<div style=\"text-align: left;\" dir=\"ltr\">\n<div style=\"font-family: Verdana,sans-serif; text-align: justify;\"><strong><span style=\"font-size: small;\">What is a Regular Expression?<\/span><\/strong><\/div>\n<div class=\"MsoNormal\" style=\"font-family: Verdana,sans-serif; text-align: justify;\"><span style=\"font-size: small;\">A regular expression (also known as regexp) is a text that consists of patterns of characters used to identify strings (the string should contain the pattern(s) defined in the regular expression as a sub-string).<!--more--><\/span><\/div>\n<div class=\"MsoNormal\" style=\"font-family: Verdana,sans-serif; text-align: justify;\"><span style=\"font-size: small;\">From <a href=\"http:\/\/en.wikipedia.org\/wiki\/Regular_expression\">Wikipedia<\/a> &#8211;\u00a0<\/span><\/div>\n<div style=\"text-align: justify;\">\n<blockquote>\n<div class=\"MsoNormal\" style=\"font-family: Verdana,sans-serif;\"><span style=\"font-size: small;\"> <em>&#8220;<\/em><\/span><em>In computing, a <strong>regular expression<\/strong>, also referred to as <strong>regex<\/strong> or <strong>regexp<\/strong>, provides a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters.<\/em><span style=\"font-size: small;\"><em>&#8220;<\/em><\/span><\/div>\n<\/blockquote>\n<\/div>\n<div style=\"font-family: Verdana,sans-serif; text-align: justify;\"><span style=\"font-size: small;\">Example: A regular expression that represents all the words starting with &#8216;exp&#8217; can be written as &#8211;\u00a0<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\"><em>exp.*<\/em> representing words like explain, explore, experience etc.<\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><a name=\"more\"><\/a><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\"><strong>Regular Expressions and QTP<\/strong><\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\">Regular Expressions can be used in QTP in cases where the user needs to identify objects where part of the object property remains constant &amp; the remaining part changes frequently. In such cases, regular expressions can be used which take into account the property changes in the objects and identify the objects based on the constant (unchanged) part of the property.<\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\"><strong><br \/>\n<\/strong><\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\">Example: In the below image, the number of unread mails (3 in this case) will change constantly. But the text &#8216;Inbox&#8217; will remain same. <\/span><\/span><\/span><\/span><\/div>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png\"><img decoding=\"async\" src=\"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png\" alt=\"\" border=\"0\" \/><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\">These type of objects are ideal candidates where regular expressions need to be used for object identification. <\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\"><strong>Using Regular Expressions in QTP<\/strong><\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\">\n<p><span style=\"font-size: x-small;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\">In QTP, regular expressions can be used for object identification both in Object Repository as well as in Descriptive Programming.\u00a0<\/span><\/span><\/span><\/span><span style=\"font-size: x-small;\"><span style=\"text-decoration: underline;\"><span style=\"font-size: small;\"><span style=\"font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif;\">Using (.*) Regular Expression with Descriptive Programming Approach<\/span><\/span><\/span><\/span><strong style=\"font-family: 'Trebuchet MS',sans-serif;\"><\/strong><\/span><\/p>\n<div style=\"background-color: white; font-family: Verdana,sans-serif;\"><span style=\"font-size: small;\">Set objDesc = Description.Create<\/span><\/div>\n<div style=\"background-color: white; font-family: Verdana,sans-serif;\"><span style=\"font-size: small;\">objDesc(&#8220;micclass&#8221;).Value = &#8220;Link&#8221;<\/span><\/div>\n<div style=\"background-color: white; font-family: Verdana,sans-serif;\"><span style=\"font-size: small;\">objDesc(&#8220;innertext&#8221;).Value = &#8220;Inbox (.*)&#8221;<\/span><\/div>\n<div style=\"background-color: white; color: #38761d; font-family: Verdana,sans-serif;\"><span style=\"font-size: small;\">&#8216;Click on the Inbox Link<\/span><\/div>\n<div style=\"background-color: white; color: #38761d; font-family: Verdana,sans-serif;\"><span style=\"font-size: x-small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\">Browser(&#8220;Browser&#8221;).Page(&#8220;Page&#8221;).Link(objDesc).Click<\/span><\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #38761d; font-family: Verdana,sans-serif;\"><span style=\"font-size: x-small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><strong>Regular Expression Characters and Usage<\/strong><\/span><\/span><\/span><\/span><\/div>\n<p><span style=\"font-size: x-small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><span style=\"text-decoration: underline;\">Using Backslash Character ()<\/span>: A backslash can be used for two purposes. Firstly, when used with a special character, the special character is treated as a literal character. For example, . is treated as . (period). If backslash is used with characters n, t, w or d, the combination becomes a special character. For example, n is treated as newline character. Other than the above 2 cases, if backslash is used anywhere, then its ignored.<\/span><\/span><\/span><\/span><\/p>\n<\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><span style=\"text-decoration: underline;\">Matching Single Character (.)<\/span>: A dot is used to match a single character other than newline character. The number of dots represent the number of characters that need to be matched.\u00a0<\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><em><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\">Example: ca. matches cat, cab, cam, can etc.<\/span><\/span><\/span><\/span><\/em><\/div>\n<div style=\"text-align: justify;\"><em><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\">s.. matches sit, sat, sip etc.<\/span><\/span><\/span><\/span><\/em><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><br \/>\n<\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><span style=\"text-decoration: underline;\">Matching a Single Character from a List ( [xyz] )<\/span>: <\/span><\/span><\/span><span style=\"font-family: Verdana,sans-serif;\">Square brackets instruct QuickTest to search for any single character within a list of characters<\/span><\/span><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\">.<\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><em><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\">Example: ca[tnp] matches only cat or can or cap.<\/span><\/span><\/span><\/span><\/em><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><span style=\"text-decoration: underline;\">Matching a Single Character Not in a List ( [^xyz] )<\/span>:If caret (^) is specified as the first character in a square bracket, it instructs QTP to consider all the characters other than the ones mentioned in the square brackets.<\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><em>Example: ca[^rbp] matches all 3 letter words starting with &#8216;ca&#8217; other than car, cab and cap.<\/em><\/span><\/span><\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"background-color: white; font-family: 'Trebuchet MS',sans-serif;\"><span style=\"font-family: Verdana,sans-serif; font-size: small;\"><span style=\"color: black;\"><span style=\"text-decoration: underline;\">Matching a Single Character within a Range ( [x-z] )<\/span><span style=\"font-size: small;\"><span style=\"font-family: Verdana,sans-serif;\">: <\/span><\/span><\/span><\/span><\/span><\/span><span style=\"font-size: small;\"><span style=\"font-family: Verdana,sans-serif;\">To match a single character within a range, we use square brackets ([ ]) with the hyphen (-) character.\u00a0<\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><em><span style=\"font-size: small;\"><span style=\"font-family: Verdana,sans-serif;\">Example: To match any year in the 1990&#8217;s, we can use 199[0-9]<\/span><\/span><\/em><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching Zero or More Specific Characters ( * )<\/span><span style=\"font-family: Verdana,sans-serif;\">:<\/span><\/span><\/span><em style=\"font-family: Verdana,sans-serif;\"><\/em><span style=\"font-family: Verdana,sans-serif;\">An asterisk (*) instructs QuickTest to match zero or more occurrences of the preceding character.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><em>Example: ca*p matches cap, caap, caaaaaaaaap, cp etc.<\/em><\/span><\/div>\n<div style=\"text-align: justify;\">\n<div style=\"text-align: justify;\"><span style=\"font-size: small;\"><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching One or More Specific Characters ( + )<\/span><span style=\"font-family: Verdana,sans-serif;\">:<\/span><\/span><\/span><em style=\"font-family: Verdana,sans-serif;\"><\/em><span style=\"font-family: Verdana,sans-serif;\"><span style=\"font-size: small;\">A Plus Sign <\/span><\/span><span style=\"font-family: Verdana,sans-serif;\">(+) instructs QuickTest to match one or more occurrences of the preceding character.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><em>Example: ca+p matches cap, caap, caaaaaaaaap etc. but not cp.<\/em><\/span><\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<div style=\"text-align: justify;\">\n<p><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching Zero or One Specific Character ( ? )<\/span>: <\/span><span style=\"font-family: Verdana,sans-serif;\"><span style=\"font-size: small;\">A Question Mark <\/span><\/span><span style=\"font-family: Verdana,sans-serif;\">(?) instructs QuickTest to match zero or one occurrences of the preceding character.<\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><em>Example: ca?p matches only cp and cap.<\/em><\/span><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching Fixed Number of Specific Characters ( {n} )<\/span>: {n} instructs QTP to match &#8216;n&#8217; occurrences of the character before opening curly bracket.<\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em>Example: ca{5}t matches caaaaat only.<\/em><\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em>c.{5}t matches caaaaat, ckjhdgt, cgjhdet, cuuikdt etc.<\/em><\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em><br \/>\n<\/em><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Grouping Regular Expressions ( ( ) )<\/span>: Parentheses (()) instruct QuickTest to treat the contained sequence as a unit, just as in mathematics and programming languages.\u00a0<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching One Or More Regular Expressions ( | )<\/span>: A vertical line (|) instructs QuickTest to match one of a choice of expressions.<\/span><\/div>\n<div style=\"text-align: justify;\"><em><span style=\"font-family: Verdana,sans-serif;\">Example: cat|mat matches either cat or mat.<\/span><\/em><\/div>\n<div style=\"text-align: justify;\"><em><span style=\"font-family: Verdana,sans-serif;\">cat|mat|rat matches either cat or mat or rat. <\/span><\/em><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><em>ca(t|m|r)at matches catat or camat or carat.\u00a0<\/em><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching the beginning of the line ( ^ )<\/span>: A caret (^) instructs QuickTest to match the expression only at the start of a line, or after a newline character.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><em>Example: ^car matches &#8216;car is red&#8217;. But it doesn&#8217;t match &#8216;red car&#8217;.<\/em><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching the End of the line ( $ )<\/span>: A dollar sign ($) tells QTP to match the expression only at the end of the line.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><em>Example: car$ doesn&#8217;t match &#8216;car is red&#8217;. But it matches &#8216;red car&#8217;.<\/em><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching any Alpha-Numeric Character including Underscore ( w )<\/span>: w instructs QTP to match any alpha-numeric character including underscore(_). Alpha-Numeric characters include A-Z, a-z and 0-9.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana,sans-serif;\"><em>Example: w matched ab_Cd, abc_d, ABCD_, -abCD etc.<\/em><\/span><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching any Non Alpha-Numeric Character excluding Underscore ( W )<\/span>: W matches all the characters other than alpha-numeric characters and underscore.<\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em>Example: W matches @#, !@$%, ^&amp;%* etc.<\/em><\/span><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching at least &#8216;n&#8217; times ( {n,}\u00a0 ) times<\/span>: {n,} instructs QTP to match the preceding at least &#8216;n&#8217; number of times.\u00a0<\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em>Example: ca{2,}t means that &#8216;a&#8217; should come 2 or more times in the string. That is, caat, caaaat, caaaaaaat matches but cat doesn&#8217;t match.<\/em><\/span><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching at least &#8216;n&#8217; times and at most &#8216;m&#8217; times ( {n,m} ) [where n: {n,m} instructs QTP to match the preceding character at least n times and at the most m times.<\/span><\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em>Example: ca{2,4}t means that the letter a can occur a minimum of 2 times and a maximum of 4 times. That is, it matched caat, caaat and caaaat but doesnt match cat, caaaaat etc.<\/em><\/span><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching a Word Boundary ( b )<\/span>: b instructs QTP to match the text at the end of the word.\u00a0<\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em>Example: (okb) matches book but it doesn&#8217;t match booking.<\/em><\/span><\/p>\n<p><span style=\"font-family: Verdana,sans-serif;\"><span style=\"text-decoration: underline;\">Matching a Nonword Boundary ( B )<\/span>: B instructs QTP to match text at non-word boundary.<\/span><br \/>\n<span style=\"font-family: Verdana,sans-serif;\"><em>Example: (okB) doesn&#8217;t match Book but it matches Booking.<\/em><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div style=\"font-family: Verdana,sans-serif; border: 1px solid #C8B560; padding: 3mm; background: #FFF8C6; text-align: center;\">\n<p>If you enjoyed this article, you can join our blog to get free email updates directly in your inbox.<\/p>\n<form style=\"text-align: center;\" action=\"http:\/\/feedburner.google.com\/fb\/a\/mailverify\" method=\"post\" onsubmit=\"window.open('http:\/\/feedburner.google.com\/fb\/a\/mailverify?uri=automationrepository\/feeds', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true\" target=\"popupwindow\"><input style=\"width: 160px; height: 24px;\" onfocus=\"if (this.value == 'Enter Your Email Address') {this.value = '';}\" onblur=\"if (this.value == '') {this.value = 'Enter Your Email Address';}\" type=\"text\" value=\"Enter Your Email Address\" \/> <input type=\"hidden\" name=\"uri\" value=\"automationrepository\/feeds\" \/> <input type=\"hidden\" name=\"loc\" value=\"en_US\" \/> <input type=\"submit\" value=\"Subscribe\" \/><\/p>\n<p style=\"text-align: justify;\">\n<\/form>\n<\/div>\n<div class=\"blogger-post-footer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/tracker\/413641991742395715-7176638266604060136?l=www.automationrepository.com\" alt=\"\" width=\"1\" height=\"1\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is a Regular Expression? A regular expression (also known as regexp) is a text that consists of patterns of characters used to identify strings (the string should contain the pattern(s) defined in the regular expression as a sub-string).<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,9],"tags":[15],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-qtp-basic-stuff","category-qtp-concepts","tag-regular-expressions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>All About Regular Expressions in QTP - XX<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Anish Pillai\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/\",\"url\":\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/\",\"name\":\"All About Regular Expressions in QTP - XX\",\"isPartOf\":{\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png\",\"datePublished\":\"2011-08-14T21:35:00+00:00\",\"dateModified\":\"2011-10-08T19:00:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/#\/schema\/person\/9fb56e00b93c7e939604cdfb05d62078\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#primaryimage\",\"url\":\"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png\",\"contentUrl\":\"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.automationrepository.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"All About Regular Expressions in QTP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/#website\",\"url\":\"https:\/\/www.automationrepository.com\/wordpress\/\",\"name\":\"XX\",\"description\":\"\\r\\nasas\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.automationrepository.com\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/#\/schema\/person\/9fb56e00b93c7e939604cdfb05d62078\",\"name\":\"Anish Pillai\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.automationrepository.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Anish Pillai\"},\"url\":\"https:\/\/www.automationrepository.com\/wordpress\/author\/anish-pillai\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"All About Regular Expressions in QTP - XX","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/","twitter_misc":{"Written by":"Anish Pillai","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/","url":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/","name":"All About Regular Expressions in QTP - XX","isPartOf":{"@id":"https:\/\/www.automationrepository.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#primaryimage"},"image":{"@id":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#primaryimage"},"thumbnailUrl":"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png","datePublished":"2011-08-14T21:35:00+00:00","dateModified":"2011-10-08T19:00:32+00:00","author":{"@id":"https:\/\/www.automationrepository.com\/wordpress\/#\/schema\/person\/9fb56e00b93c7e939604cdfb05d62078"},"breadcrumb":{"@id":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#primaryimage","url":"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png","contentUrl":"http:\/\/1.bp.blogspot.com\/-rLOWq_XhdGY\/TkexekQaaZI\/AAAAAAAAAAQ\/XjZrKi9BdTk\/s1600\/InboxLink.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.automationrepository.com\/wordpress\/2011\/08\/all-about-regular-expressions-in-qtp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.automationrepository.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"All About Regular Expressions in QTP"}]},{"@type":"WebSite","@id":"https:\/\/www.automationrepository.com\/wordpress\/#website","url":"https:\/\/www.automationrepository.com\/wordpress\/","name":"XX","description":"\r\nasas","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.automationrepository.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.automationrepository.com\/wordpress\/#\/schema\/person\/9fb56e00b93c7e939604cdfb05d62078","name":"Anish Pillai","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.automationrepository.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Anish Pillai"},"url":"https:\/\/www.automationrepository.com\/wordpress\/author\/anish-pillai\/"}]}},"_links":{"self":[{"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":4,"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":391,"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/posts\/20\/revisions\/391"}],"wp:attachment":[{"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.automationrepository.com\/wordpress\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}