[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571362-105":53,"doc-detail-571362-en":119},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":112,"head_meta":114,"extra_data":116,"updated_unix":118},105,"en","regex-cheat-sheet-common-tokens-quick-reference","RegEx Cheat Sheet - Common Tokens - Quick reference","","Comprehensive cheat sheet for regular expressions, organized by common tokens, whitespace handling, Unicode properties, character classes, quantifiers, and anchors. Covers negation, capturing groups, recursion references, meta sequences, and line break modifiers across multiple regex constructs. Includes examples and explanations for matching digits, words, boundaries, control characters, and general Unicode newline/vertical whitespace, plus substitution and transformation operators for building or modifying matched output.",{"@graph":63,"@context":111},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/regex-cheat-sheet-common-tokens-quick-reference/571362/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/regex-cheat-sheet-common-tokens-quick-reference/571362.png","ImageObject",442,249,{"name":88,"@type":89},"gewufjwa","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",7,{"@type":103,"mainEntity":104},"FAQPage",[105],{"name":106,"@type":107,"acceptedAnswer":108},"What substitution and transformation features are available for replacement?","Question",{"text":109,"@type":110},"The sheet includes replacement references such as \\1, $1, and named capture substitutions, along with hex escapes and transformations like \\U, \\L, and \\E for upper/lowercasing during replacement.","Answer","https://schema.org",{"og:url":78,"og:type":113,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":115,"canonical":78},"index,follow",{"doc_id":117,"site_id":56},571362,1792020309,{"code":4,"msg":5,"data":120},{"doc_id":117,"user_id":121,"nickname":88,"user_avatar":122,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":123,"file_id":124,"file_url":125,"file_type":126,"file_size":127,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":73,"language":128,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":129,"faqs":130,"seo_title":131,"seo_description":61,"update_tm":132,"read_time":9},3985747882900,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Horizontal whitespace characterNegation ofReset matchMatch nth sub patternUnicode propert X  \nUnicode property or script categoryNegation of \\pXNegation of \\pQuote;treat as literalsMatch sub pattern name'Match sub pattern name'Match sub pattern `name`Match nth sub patternMatch nth sub patternRecurse nth capture groupRecurses nth capture groupMatch nth relative previous sub patternRecurse nth relative upcoming sub patternMatch nth relative upcoming submitterRecurse names capture group  \nMatch previously-names capture group 'letter`Recurses names capture group letter'Hex character YYHex characer YYYYOctal character dddControl character YBackspace characterMakes any character literal  \nRegEx Cheat Sheet  \n# Common Tokens\n\nA single character of:a,b,or c[abc]   (Capture enclosed(...)A character except:a,b,orc[^abc]  Match either a orb(alb)A character in the range:a-Z[a-z]Zero or one of aa?A chapter not in range:a-Z[^a-z]Zero of more of aa*A character in the range:a-z or A-Z[a-zA-Z]One or more of aa+Any single characterExactly 3 of aa{3}Any Whitespace character\\s3 or more of aa{3,}Any non-whitespace characterISBetween 3 and 6 of aa{3,6}Any digit\\dStart of string人Any non-digit\\DEnd of stringAny word characterIwA word boundary\\nAny non-word characterIWNone-word boundary\\B  \n$  \n# Meta Sequence\n\nGeneral Tokens  \nAny Unicode sequences,line breaks includedMatch one data unitUnicode newlinesVertical whitespace characterNegation of \\v  \n\\X  \n\\n  \nNewline  \nIC  \n\\r  \nCarriage return  \n\\R  \n\\t  \nTab  \nIv  \n10  \nNull character  \nIV  \n\\h  \n\\H  \nCharacter ClassModifiers  \n\\K  \n[abc]  \nIn  \n[^abc]  \n\\pX  \n[a-z]  \n\\p.….3  \nA single character of:a,b,or cA character except:a,b,or cA character in the range:a-ZA chapter not in range:a-ZA character in the range:a-z orA-Z  \n[^a-z]  \n\\PX  \nIP.….  \n[a-zA-Z]  \nIQ..\\E  \n[[:alnum:]]  \n\\k\u003Cname>  \n[:alpha:]]  \n\\k'name'  \n[[:ascii:]]  \n\\kiname}  \n[:blank:]]  \ngn  \nLetters and digitsLetters  \n[[:cntrl:]]  \ngin}  \n[[:digit:]  \n\\g\u003Cn>  \nASCll codes 0-127Space or tab onlyControl charactersDecimal digits  \n\\g’n'  \n[[:graph:]]  \n\\g{-n}  \n[[:lower:]]  \n\\g\u003C+n>  \n[[:upper:]  \nIg'+n'  \n[[:word:]  \nletter`  \nVisible characters(not space)Lowercase lettersUppercase letterWord characters  \ng{letter}  \n[[:xdigit:]  \n\\g\u003Cletter>  \n[[:\u003C:]]  \n\\xYY  \n[[:>:]  \n\\x{YYYY}  \n\\ddd  \nbnaze  \n\\cY  \n[\\b]  \n\\  \nCapture everything enclosed...)Match either a or b(alb)Match everything enclosed(?...Atomic grouping(non-capturing)(?...)Duplicate sub pattern group number(?...)Comment(?\\#..)Named Capturing Group(?'name...)Named Capturing Group(?\u003Cname>...)Named Capturing Group(?P\u003Cname>...)Inline modifiers(?imsxXU)Conditional statements(?(1)yeslno)Recursive Conditional Statement(?(R\\#)yeslno)Conditional statement(?(R&name)yeslno)Lookahead conditional(?(?=.yeslno)Lookbehind conditional(?(?\u003C=...)yeslno)Recurse entire pattern(?R)Recurse first sub pattern(?1)Recurse first relative sub pattern(?+1)Recurse subpattern`name(?&name)Match subpattern `name`(?P=name)Recurse subpattern `name(?P>name)Pre-define patterns before use(?(DEFINE)...)Positive Lookahead(?=...)Negative Lookahead(?!.)Positive Lookbehind(?\u003C=...)Negative Lookbehind(?\u003C!..)Control verb(*ACCEPT)Control verb(*FAIL)Control verb(*MARK:NAME)Control verb(*COMMIT)Control verb(*PRUNE)Control verb(*SKIP)Control verb(*THEN)Pattern modifier(*UTF)Pattern modifier(*UTF8)Pattern modifier(*UTF16)Pattern modifier(*UTF32)Pattern modifier(*UCP)Line break modifier(*CR)Line break modifier(*LF)Line break modifier(*CRLF)Line break modifier(*ANYCRLF)Line break modifier(*ANY)Line break modifier\\RLine break modifier  \n(*BSR_ANYCRLF)Line break modifier(*BSR_UNICODE)Regex engine modifier(*LIMIT_MATCH=x)Regex engine modifier(*LIMIT_RECURSION=d)Regex engine modifier(*NO_AUTO_POSSESS)Regex engine modifier(*NO_START_OPT)  \nRegEx Cheat Sheet  \n# Group Constants\n\nQuantifiers  \nZero or one of aZero of more of aOne or more of aExactly 3 of a3 or more of aBetween 3 and 6 of aGreedy quantifierLazy quantifierPossessive quantifier  ","cbCaiur4NNrSKvDA","https://ap.wps.com/l/cbCaiur4NNrSKvDA","pdf",1631396,"English","# Common Tokens\n## Meta Sequence\n## Unicode and Character Classes\n## Modifiers, Flags, and Substitution","[{\"question\":\"What substitution and transformation features are available for replacement?\",\"answer\":\"The sheet includes replacement references such as \\\\1, $1, and named capture substitutions, along with hex escapes and transformations like \\\\U, \\\\L, and \\\\E for upper/lowercasing during replacement.\"}]","RegEx Cheat Sheet - Common Tokens - Quick reference | PDF",1791914110]