{"id":89273,"date":"2024-03-21T18:00:34","date_gmt":"2024-03-21T12:30:34","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=89273"},"modified":"2024-03-21T18:00:34","modified_gmt":"2024-03-21T12:30:34","slug":"regular-expression-in-java","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/","title":{"rendered":"Java Regex | Regular Expression"},"content":{"rendered":"<p>It is an ordinary expression, a set of characters making up the search pattern. If you want to see data in a text field, this search pattern can be used to describe what you look for. There may be a single character or a more complex pattern in a regular expression. In performing all types of searches and replacing text operations, regular expressions can be used.<\/p>\n<h2>What is a regular expression in Java?<\/h2>\n<p>The regular expression class in Java is not instantiated, but we can create it by importing java.util. A regular expression package that will work with regular expressions. <strong>The package contains the following classes:<\/strong><\/p>\n<ul>\n<li><strong>Pattern Class \u2013<\/strong> The pattern class specifies the pattern to use in the search.<\/li>\n<li><strong>Matcher Class &#8211;<\/strong> The matcher class that is used to find the pattern.<\/li>\n<li><strong>PatternSyntaxException class &#8211;<\/strong> Indicates a syntax error in a regular expression pattern.<\/li>\n<\/ul>\n<p><strong>Example:<\/strong><\/p>\n<p><strong>Do you find any mentions of &#8220;Techvidvan&#8221; in the sentence:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import java.util.regex.Matcher;\nimport java.util.regex.Pattern;\npublic class Main{\n  public static void main(String[] args) {\n    Pattern pattern = Pattern.compile(\"Techvidvan\", Pattern.CASE_INSENSITIVE);\n    Matcher matcher = pattern.matcher(\"Visit Techvidvan!\");\n    boolean matchFound = matcher.find();\n    if(matchFound) {\n      System.out.println(\"Match found\");\n    } \nelse {\n      System.out.println(\"Match not found\");\n    }\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><br \/>\nMatch found<\/p>\n<p><strong>Example explained:<\/strong><\/p>\n<p>The sentence in this example searches for the word &#8220;Techvidvan&#8221;. First, the pattern was created using a pattern. Use the compile() method to compile.<\/p>\n<p>The first parameter indicates which pattern to search for, and the second parameter has a flag indicating that the search should be case insensitive. The second parameter is not needed.<\/p>\n<p>You can find a pattern in strings using the matcher() method. A comparison object is returned that contains information about the search performed. If a pattern has been detected in the string and is not recognized, find() returns false.<\/p>\n<h3>Java regex<\/h3>\n<p>Java Regex The Java Regex or RegularExpression API is used to define a pattern for searching and manipulating strings. Defining restrictions on strings, e.g. password and email security, is widely used.<\/p>\n<p>You can use the Java regex checker tool to try out your normal expressions once you&#8217;ve learned the Java regex lesson. In java.util, there are 1 interface and 3 classes provided by the Java Regex API. regex package.<\/p>\n<h3>java.util.regex package:<\/h3>\n<p>Java&#8217;s ability to generate regular expressions is provided by the Matcher and Pattern classes. java.util. regex packages are provided with the following classes and interfaces for normal expressions.<\/p>\n<h3>Flags:<\/h3>\n<p>The way the lookup is done is changed by using flags in the compile() method. A few of them are given below:<\/p>\n<p><strong>Pattern.CASE_INSENSITIVE:<\/strong> The case of the letter is not considered during the search.<\/p>\n<p><strong>Pattern. LITERAL: <\/strong>The characters in the pattern have no special meaning and should be treated as normal characters when searching.<\/p>\n<p><strong>Pattern. UNICODE_CASE: <\/strong>Additionally, use this to ignore non-English uppercase and lowercase letters when using the CASE_INSENSITIVE flag.<\/p>\n<p>Matches all strings that contain more than one n matches any string with zero or more occurrences of n Matches any string with zero or one occurrence of n matches a string with the sequence X n Matches every string that&#8217;s got X to Y n in it Specifies any string with a sequence in the range of X n.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/java-regex-3.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-89280 size-full\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/java-regex-3.webp\" alt=\"java regex\" width=\"500\" height=\"254\" \/><\/a><\/p>\n<h3>Java Regular expression patterns:<\/h3>\n<ul>\n<li>The first parameter of the Pattern.compile() method is the pattern. It describes what is being searched for.<\/li>\n<li>Parentheses are used to find a range of characters:<\/li>\n<\/ul>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">Expression<\/span><\/td>\n<td><span style=\"font-weight: 400\">Description<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">[abc]<\/span><\/td>\n<td><span style=\"font-weight: 400\">Find one character from the options between the parentheses.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">[^abc]<\/span><\/td>\n<td><span style=\"font-weight: 400\">Find a single NOT character between the parentheses.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">[0-9]<\/span><\/td>\n<td><span style=\"font-weight: 400\">Find one character from 0 to 9.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Metacharacters:<\/h3>\n<p><strong>Metacharacters are characters with special meaning:<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">Metacharacter<\/span><\/td>\n<td><span style=\"font-weight: 400\">Description<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">|<\/span><\/td>\n<td><span style=\"font-weight: 400\">Find a match for any of the patterns separated by | as in: cat|dog|fish<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">.<\/span><\/td>\n<td><span style=\"font-weight: 400\">Any character cannot be found to have one occurrence.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">^<\/span><\/td>\n<td><span style=\"font-weight: 400\">Matches the beginning of a string as in: ^Hello<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">$<\/span><\/td>\n<td><span style=\"font-weight: 400\">As in: World$Matches at the end of the string\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">\\d<\/span><\/td>\n<td><span style=\"font-weight: 400\">Find the digit\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">\\s<\/span><\/td>\n<td><span style=\"font-weight: 400\">Find the blank character\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">\\b<\/span><\/td>\n<td><span style=\"font-weight: 400\">You can find a match at the beginning of a word like this: bWORD, or at the end of a word like this: bWORD.\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">\\uxxxx<\/span><\/td>\n<td><span style=\"font-weight: 400\">Find the Unicode character specified by the hexadecimal number xxxx<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Quantifiers:<\/h3>\n<p><strong>Quantifiers define quantities:<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">Quantifier<\/span><\/td>\n<td><span style=\"font-weight: 400\">Description<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">n+<\/span><\/td>\n<td><span style=\"font-weight: 400\">Matches all strings that contain more than one n.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">n*<\/span><\/td>\n<td><span style=\"font-weight: 400\">Matches any string with zero or more occurrences of n .<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">n?<\/span><\/td>\n<td><span style=\"font-weight: 400\">Matches any string with zero or one occurrence of n.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">n{x}<\/span><\/td>\n<td><span style=\"font-weight: 400\">Matches a string with the sequence X n<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">n{x,y}<\/span><\/td>\n<td><span style=\"font-weight: 400\">Matches every string that&#8217;s got X to Y n in it Specifies.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">n{x,}<\/span><\/td>\n<td><span style=\"font-weight: 400\">any string with a sequence in the range of X n.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Matchmaker class:<\/h3>\n<p>Implements the MatchResult interface. It is a regular expression engine used to perform matching operations on a sequence of characters.<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">S.No<\/span><\/td>\n<td><span style=\"font-weight: 400\">Method<\/span><\/td>\n<td><span style=\"font-weight: 400\">Description<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">1<\/span><\/td>\n<td><span style=\"font-weight: 400\">boolean matches()<\/span><\/td>\n<td><span style=\"font-weight: 400\">test if the regular expression matches the pattern.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">2<\/span><\/td>\n<td><span style=\"font-weight: 400\">boolean find()<\/span><\/td>\n<td><span style=\"font-weight: 400\">finds another expression that matches the pattern.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">3<\/span><\/td>\n<td><span style=\"font-weight: 400\">boolean find(int start)<\/span><\/td>\n<td><span style=\"font-weight: 400\">finds the next expression that matches the pattern from the given starting number<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<td><span style=\"font-weight: 400\">String group()<\/span><\/td>\n<td><span style=\"font-weight: 400\">return the corresponding subsequence.\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">5<\/span><\/td>\n<td><span style=\"font-weight: 400\">int start()<\/span><\/td>\n<td><span style=\"font-weight: 400\">returns an initial index to the related subsequence.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">6<\/span><\/td>\n<td><span style=\"font-weight: 400\">int end()<\/span><\/td>\n<td><span style=\"font-weight: 400\">The end index of the appropriate subsequence is returned.\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">7<\/span><\/td>\n<td><span style=\"font-weight: 400\">int groupCount()<\/span><\/td>\n<td><span style=\"font-weight: 400\">The total number of matching subsequences is returned.\u00a0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Pattern class:<\/h3>\n<p>That&#8217;s a compiled version of the regular expression. Used to define a pattern for the ordinary expression module.<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">S.No<\/span><\/td>\n<td><span style=\"font-weight: 400\">Method<\/span><\/td>\n<td><span style=\"font-weight: 400\">Description<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">1<\/span><\/td>\n<td><span style=\"font-weight: 400\">static Pattern compile(String regex)<\/span><\/td>\n<td><span style=\"font-weight: 400\">The given regular expression is compiled and returned an instance of the pattern.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">2<\/span><\/td>\n<td><span style=\"font-weight: 400\">Matchmatcherer (CharSequence input)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Creates a matcher that&#8217;s identical to the pattern input.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">3<\/span><\/td>\n<td><span style=\"font-weight: 400\">static boolean matches(String regex, CharSequence input)<\/span><\/td>\n<td><span style=\"font-weight: 400\">This is just a combination of the compile and compare methods. Compiles a regular expression that will match an input according to the pattern.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<td><span style=\"font-weight: 400\">String[] split(CharSequence input)<\/span><\/td>\n<td><span style=\"font-weight: 400\">The input string is broken down into matches of the given pattern.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">5<\/span><\/td>\n<td><span style=\"font-weight: 400\">String pattern()<\/span><\/td>\n<td><span style=\"font-weight: 400\"> It returns a regular expression pattern.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Conclusion<\/h3>\n<p>In a Java program, a regular expression is defined by a string that obeys specific pattern-matching rules. When executing code, the Java machine compiles this string into a Pattern object and uses a Matcher object to find matches in the text.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is an ordinary expression, a set of characters making up the search pattern. If you want to see data in a text field, this search pattern can be used to describe what you&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":89439,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[296,1811,5403,327,250,5404,5405,5406],"class_list":["post-89273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","tag-java","tag-java-regex","tag-java-regular-expressions","tag-java-tutorials","tag-learn-java","tag-regex-in-java","tag-regular-expressions","tag-regular-expressions-in-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java Regex | Regular Expression - TechVidvan<\/title>\n<meta name=\"description\" content=\"In a Java program, a regular expression is defined by a string that obeys specific pattern-matching rules.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Regex | Regular Expression - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"In a Java program, a regular expression is defined by a string that obeys specific pattern-matching rules.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-21T12:30:34+00:00\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java Regex | Regular Expression - TechVidvan","description":"In a Java program, a regular expression is defined by a string that obeys specific pattern-matching rules.","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:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/","og_locale":"en_US","og_type":"article","og_title":"Java Regex | Regular Expression - TechVidvan","og_description":"In a Java program, a regular expression is defined by a string that obeys specific pattern-matching rules.","og_url":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2024-03-21T12:30:34+00:00","author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Java Regex | Regular Expression","datePublished":"2024-03-21T12:30:34+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/"},"wordCount":985,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#primaryimage"},"thumbnailUrl":"","keywords":["java","Java Regex","java regular expressions","java tutorials","Learn Java","regex in java","regular expressions","regular expressions in java"],"articleSection":["Java Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/","url":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/","name":"Java Regex | Regular Expression - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#primaryimage"},"thumbnailUrl":"","datePublished":"2024-03-21T12:30:34+00:00","description":"In a Java program, a regular expression is defined by a string that obeys specific pattern-matching rules.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/regular-expression-in-java\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Java Regex | Regular Expression"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/89273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=89273"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/89273\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=89273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=89273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=89273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}