[{"data":1,"prerenderedAt":545},["ShallowReactive",2],{"guide-regex-cheat-sheet":3},{"id":4,"title":5,"body":6,"date":535,"description":536,"extension":537,"meta":538,"navigation":539,"path":540,"readingTime":541,"seo":542,"stem":543,"__hash__":544},"guides\u002Fguides\u002Fregex-cheat-sheet.md","Regex Cheat Sheet — Complete Pattern Reference",{"type":7,"value":8,"toc":524},"minimark",[9,14,144,148,240,244,296,300,392,396,468,472,502,512,516],[10,11,13],"h2",{"id":12},"character-classes","Character Classes",[15,16,17,30],"table",{},[18,19,20],"thead",{},[21,22,23,27],"tr",{},[24,25,26],"th",{},"Pattern",[24,28,29],{},"Meaning",[31,32,33,45,58,71,84,94,104,114,124,134],"tbody",{},[21,34,35,42],{},[36,37,38],"td",{},[39,40,41],"code",{},".",[36,43,44],{},"Any character except newline",[21,46,47,52],{},[36,48,49],{},[39,50,51],{},"\\d",[36,53,54,55],{},"Digit ",[39,56,57],{},"[0-9]",[21,59,60,65],{},[36,61,62],{},[39,63,64],{},"\\D",[36,66,67,68],{},"Non-digit ",[39,69,70],{},"[^0-9]",[21,72,73,78],{},[36,74,75],{},[39,76,77],{},"\\w",[36,79,80,81],{},"Word character ",[39,82,83],{},"[a-zA-Z0-9_]",[21,85,86,91],{},[36,87,88],{},[39,89,90],{},"\\W",[36,92,93],{},"Non-word character",[21,95,96,101],{},[36,97,98],{},[39,99,100],{},"\\s",[36,102,103],{},"Whitespace (space, tab, newline)",[21,105,106,111],{},[36,107,108],{},[39,109,110],{},"\\S",[36,112,113],{},"Non-whitespace",[21,115,116,121],{},[36,117,118],{},[39,119,120],{},"[abc]",[36,122,123],{},"Any character in set",[21,125,126,131],{},[36,127,128],{},[39,129,130],{},"[^abc]",[36,132,133],{},"Any character NOT in set",[21,135,136,141],{},[36,137,138],{},[39,139,140],{},"[a-z]",[36,142,143],{},"Character range",[10,145,147],{"id":146},"quantifiers","Quantifiers",[15,149,150,158],{},[18,151,152],{},[21,153,154,156],{},[24,155,26],{},[24,157,29],{},[31,159,160,170,180,190,200,210,220,230],{},[21,161,162,167],{},[36,163,164],{},[39,165,166],{},"*",[36,168,169],{},"Zero or more",[21,171,172,177],{},[36,173,174],{},[39,175,176],{},"+",[36,178,179],{},"One or more",[21,181,182,187],{},[36,183,184],{},[39,185,186],{},"?",[36,188,189],{},"Zero or one (optional)",[21,191,192,197],{},[36,193,194],{},[39,195,196],{},"{n}",[36,198,199],{},"Exactly n times",[21,201,202,207],{},[36,203,204],{},[39,205,206],{},"{n,}",[36,208,209],{},"n or more times",[21,211,212,217],{},[36,213,214],{},[39,215,216],{},"{n,m}",[36,218,219],{},"Between n and m times",[21,221,222,227],{},[36,223,224],{},[39,225,226],{},"*?",[36,228,229],{},"Zero or more (lazy)",[21,231,232,237],{},[36,233,234],{},[39,235,236],{},"+?",[36,238,239],{},"One or more (lazy)",[10,241,243],{"id":242},"anchors","Anchors",[15,245,246,254],{},[18,247,248],{},[21,249,250,252],{},[24,251,26],{},[24,253,29],{},[31,255,256,266,276,286],{},[21,257,258,263],{},[36,259,260],{},[39,261,262],{},"^",[36,264,265],{},"Start of string\u002Fline",[21,267,268,273],{},[36,269,270],{},[39,271,272],{},"$",[36,274,275],{},"End of string\u002Fline",[21,277,278,283],{},[36,279,280],{},[39,281,282],{},"\\b",[36,284,285],{},"Word boundary",[21,287,288,293],{},[36,289,290],{},[39,291,292],{},"\\B",[36,294,295],{},"Non-word boundary",[10,297,299],{"id":298},"groups-and-references","Groups and References",[15,301,302,310],{},[18,303,304],{},[21,305,306,308],{},[24,307,26],{},[24,309,29],{},[31,311,312,322,332,342,352,362,372,382],{},[21,313,314,319],{},[36,315,316],{},[39,317,318],{},"(abc)",[36,320,321],{},"Capturing group",[21,323,324,329],{},[36,325,326],{},[39,327,328],{},"(?:abc)",[36,330,331],{},"Non-capturing group",[21,333,334,339],{},[36,335,336],{},[39,337,338],{},"(?\u003Cname>abc)",[36,340,341],{},"Named capturing group",[21,343,344,349],{},[36,345,346],{},[39,347,348],{},"\\1",[36,350,351],{},"Backreference to group 1",[21,353,354,359],{},[36,355,356],{},[39,357,358],{},"(?=abc)",[36,360,361],{},"Lookahead",[21,363,364,369],{},[36,365,366],{},[39,367,368],{},"(?!abc)",[36,370,371],{},"Negative lookahead",[21,373,374,379],{},[36,375,376],{},[39,377,378],{},"(?\u003C=abc)",[36,380,381],{},"Lookbehind",[21,383,384,389],{},[36,385,386],{},[39,387,388],{},"(?\u003C!abc)",[36,390,391],{},"Negative lookbehind",[10,393,395],{"id":394},"flags","Flags",[15,397,398,407],{},[18,399,400],{},[21,401,402,405],{},[24,403,404],{},"Flag",[24,406,29],{},[31,408,409,419,429,445,458],{},[21,410,411,416],{},[36,412,413],{},[39,414,415],{},"g",[36,417,418],{},"Global — find all matches",[21,420,421,426],{},[36,422,423],{},[39,424,425],{},"i",[36,427,428],{},"Case-insensitive",[21,430,431,436],{},[36,432,433],{},[39,434,435],{},"m",[36,437,438,439,441,442,444],{},"Multiline — ",[39,440,262],{},"\u002F",[39,443,272],{}," match line boundaries",[21,446,447,452],{},[36,448,449],{},[39,450,451],{},"s",[36,453,454,455,457],{},"Dotall — ",[39,456,41],{}," matches newline",[21,459,460,465],{},[36,461,462],{},[39,463,464],{},"u",[36,466,467],{},"Unicode support",[10,469,471],{"id":470},"common-patterns","Common Patterns",[473,474,475,486,494],"ul",{},[476,477,478,482,483],"li",{},[479,480,481],"strong",{},"Email",": ",[39,484,485],{},"\u002F^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\u002F",[476,487,488,482,491],{},[479,489,490],{},"URL",[39,492,493],{},"\u002F^https?:\\\u002F\\\u002F.+\u002F",[476,495,496,482,499],{},[479,497,498],{},"IP Address",[39,500,501],{},"\u002F^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$\u002F",[503,504,505,506,511],"p",{},"See ",[507,508,510],"a",{"href":509},"\u002Fguides\u002Fcommon-regex-patterns","20 Useful Regex Patterns"," for more examples.",[10,513,515],{"id":514},"try-it-yourself","Try It Yourself",[503,517,518,519,523],{},"Use our free ",[507,520,522],{"href":521},"\u002Ftools\u002Fregex-tester","Regex Tester"," to test and debug regex patterns in real time.",{"title":525,"searchDepth":526,"depth":526,"links":527},"",2,[528,529,530,531,532,533,534],{"id":12,"depth":526,"text":13},{"id":146,"depth":526,"text":147},{"id":242,"depth":526,"text":243},{"id":298,"depth":526,"text":299},{"id":394,"depth":526,"text":395},{"id":470,"depth":526,"text":471},{"id":514,"depth":526,"text":515},"2026-05-26","Complete regex cheat sheet with character classes, quantifiers, anchors, groups, and flags. Quick reference for developers.","md",{"immutable":539},true,"\u002Fguides\u002Fregex-cheat-sheet",6,{"title":5,"description":536},"guides\u002Fregex-cheat-sheet","hS4eQaEZwwmS0ax6MDgrL09KHtVLWVuL7i1h2j5kHBM",1780401324424]