Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression
No Match

r"
"
gm

Test String

Code Generator

Generated Code

package main import ( "regexp" "fmt" ) func main() { var re = regexp.MustCompile(`(?m)<\w+> (.+: )?(-?\d+\s?){2,}`) var str = `[12:51:16] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [12:51:16] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [12:51:16] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [12:51:16] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [12:51:16] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [12:51:16] [main/INFO]: Loaded 0 recipes [12:51:16] [main/INFO]: Loaded 0 advancements [12:51:16] [Server thread/INFO]: Starting minecraft server version 1.13.2 [12:51:16] [Server thread/INFO]: Loading properties [12:51:16] [Server thread/INFO]: Default game type: SURVIVAL [12:51:16] [Server thread/INFO]: Generating keypair [12:51:16] [Server thread/INFO]: Starting Minecraft server on *:25565 [12:51:16] [Server thread/INFO]: Using default channel type [12:51:17] [Server thread/INFO]: Preparing level "New World Self Checkout 3" [12:51:17] [Server thread/INFO]: Reloading ResourceManager: Default [12:51:18] [Server thread/INFO]: Loaded 524 recipes [12:51:19] [Server thread/INFO]: Loaded 571 advancements [12:51:19] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld [12:51:19] [Server thread/INFO]: Preparing spawn area: 4% [12:51:19] [Server thread/INFO]: Preparing spawn area: 8% [12:51:19] [Server thread/INFO]: Preparing spawn area: 12% [12:51:19] [Server thread/INFO]: Preparing spawn area: 16% [12:51:19] [Server thread/INFO]: Preparing spawn area: 20% [12:51:19] [Server thread/INFO]: Preparing spawn area: 24% [12:51:19] [Server thread/INFO]: Preparing spawn area: 28% [12:51:19] [Server thread/INFO]: Preparing spawn area: 32% [12:51:20] [Server thread/INFO]: Preparing spawn area: 36% [12:51:20] [Server thread/INFO]: Preparing spawn area: 40% [12:51:20] [Server thread/INFO]: Preparing spawn area: 44% [12:51:20] [Server thread/INFO]: Preparing spawn area: 48% [12:51:20] [Server thread/INFO]: Preparing spawn area: 52% [12:51:20] [Server thread/INFO]: Preparing spawn area: 56% [12:51:20] [Server thread/INFO]: Preparing spawn area: 60% [12:51:20] [Server thread/INFO]: Preparing spawn area: 64% [12:51:20] [Server thread/INFO]: Preparing spawn area: 68% [12:51:20] [Server thread/INFO]: Preparing spawn area: 72% [12:51:20] [Server thread/INFO]: Preparing spawn area: 76% [12:51:20] [Server thread/INFO]: Preparing spawn area: 80% [12:51:20] [Server thread/INFO]: Preparing spawn area: 84% [12:51:20] [Server thread/INFO]: Preparing spawn area: 88% [12:51:20] [Server thread/INFO]: Preparing spawn area: 92% [12:51:20] [Server thread/INFO]: Preparing spawn area: 96% [12:51:20] [Server thread/INFO]: Preparing spawn area: 100% [12:51:20] [Server thread/INFO]: Time elapsed: 1157 ms [12:51:20] [Server thread/INFO]: Done (3.348s)! For help, type "help" [12:51:20] [Server thread/INFO]: Starting GS4 status listener [12:51:20] [Query Listener #1/INFO]: Query running on 0.0.0.0:25565 [13:04:01] [User Authenticator #1/INFO]: UUID of player Mr_Legendary is ea01db0d-670a-417a-a5f1-663ac3ccbefe [13:04:01] [Server thread/INFO]: Mr_Legendary[/101.100.134.128:3705] logged in with entity id 169 at (-401.7496012616507, 116.0, -682.4356513351453) [13:04:01] [Server thread/INFO]: Mr_Legendary joined the game [13:12:48] [Server thread/INFO]: <Mr_Legendary> Mr_Legendary [13:16:32] [User Authenticator #2/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [13:16:32] [Server thread/INFO]: ScareAtol[/118.92.94.212:56354] logged in with entity id 16108 at (-387.14360263588634, 113.0, -703.0523460788716) [13:16:32] [Server thread/INFO]: ScareAtol joined the game [13:16:38] [Server thread/INFO]: <Mr_Legendary> hey [13:16:42] [Server thread/INFO]: <ScareAtol> sup [13:17:08] [Server thread/INFO]: <ScareAtol> wyd [13:17:11] [Server thread/INFO]: <Mr_Legendary> mining [13:17:27] [Server thread/INFO]: <ScareAtol> mind if i join [13:17:44] [Server thread/INFO]: <Mr_Legendary> you can but I'm already pretty far down [13:17:48] [Server thread/INFO]: <ScareAtol> ok alg [13:18:11] [Server thread/INFO]: <ScareAtol> im just grabbing some food [13:18:19] [Server thread/INFO]: Unknown command [13:18:19] [Server thread/INFO]: <--[HERE] [13:18:59] [Server thread/INFO]: [Server] Lag spikes should be fixed now, though there will be some occasionally because of wireless connection. [13:19:07] [Server thread/INFO]: <ScareAtol> sick [13:23:15] [Server thread/INFO]: <ScareAtol> coords? [13:23:21] [Server thread/INFO]: <Mr_Legendary> at base now [13:23:37] [Server thread/INFO]: <ScareAtol> gonna go strip mining if you wanna join [13:23:40] [Server thread/INFO]: <Mr_Legendary> sure [13:23:52] [Server thread/INFO]: <ScareAtol> sleep? [13:24:00] [Server thread/INFO]: <Mr_Legendary> ok [13:24:08] [Server thread/INFO]: <Mr_Legendary> ill just quit and rejoin [13:24:12] [Server thread/INFO]: <Mr_Legendary> tell me when you're read [13:24:13] [Server thread/INFO]: <ScareAtol> sleeping now [13:24:14] [Server thread/INFO]: Mr_Legendary lost connection: Disconnected [13:24:14] [Server thread/INFO]: Mr_Legendary left the game [13:24:24] [User Authenticator #3/INFO]: UUID of player Mr_Legendary is ea01db0d-670a-417a-a5f1-663ac3ccbefe [13:24:24] [Server thread/INFO]: Mr_Legendary[/101.100.134.128:3794] logged in with entity id 26533 at (-426.0025421631266, 83.0, -644.9242126413784) [13:24:24] [Server thread/INFO]: Mr_Legendary joined the game [13:24:48] [Server thread/INFO]: ScareAtol lost connection: Disconnected [13:24:48] [Server thread/INFO]: ScareAtol left the game [13:24:48] [Server thread/WARN]: handleDisconnection() called twice [13:24:56] [User Authenticator #4/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [13:24:56] [Server thread/INFO]: ScareAtol[/118.92.94.212:56412] logged in with entity id 26939 at (-524.5, 75.0999984741211, -569.5) [13:24:56] [Server thread/INFO]: ScareAtol joined the game [13:25:20] [Server thread/INFO]: <ScareAtol> you got food? [13:25:29] [Server thread/INFO]: <ScareAtol> ty [13:26:05] [Server thread/INFO]: <ScareAtol> go to 11 then go straight [13:28:09] [Server thread/INFO]: <ScareAtol> bat so must be a big cave [13:28:45] [Server thread/INFO]: <Mr_Legendary> come through ehre [13:28:52] [Server thread/INFO]: <ScareAtol> where [13:29:51] [Server thread/INFO]: <ScareAtol> dead end [13:30:23] [Server thread/INFO]: <Mr_Legendary> we should just dig down [13:31:29] [Server thread/INFO]: <ScareAtol> furnace here [13:31:40] [Server thread/INFO]: <ScareAtol> gonna make more iron picks [13:32:27] [Server thread/INFO]: <ScareAtol> where you go? [13:32:45] [Server thread/INFO]: <Mr_Legendary> digging to lava [13:34:43] [Server thread/INFO]: <Mr_Legendary> mine shaft [13:34:47] [Server thread/INFO]: <ScareAtol> coming [13:35:24] [Server thread/INFO]: <Mr_Legendary> -548 -737 [13:36:47] [Server thread/INFO]: Mr_Legendary has made the advancement [Hot Stuff] [13:37:29] [Server thread/INFO]: <ScareAtol> found a spawner [13:37:35] [Server thread/INFO]: <Mr_Legendary> sweet [13:37:58] [Server thread/INFO]: <ScareAtol> -580 -735 [13:40:59] [Server thread/INFO]: <ScareAtol> found another [13:45:14] [Server thread/INFO]: <ScareAtol> -600 10 -700 [13:47:40] [Server thread/INFO]: <Mr_Legendary> going back up [13:47:58] [Server thread/INFO]: <ScareAtol> ill be up soon [13:52:12] [Server thread/INFO]: <ScareAtol> got any good stuff? [13:52:21] [Server thread/INFO]: <Mr_Legendary> 4 diamonds, mostly went down for cobble though [13:52:35] [Server thread/INFO]: <ScareAtol> alg [13:56:33] [Server thread/INFO]: <Mr_Legendary> aight, going to have lunch [13:56:36] [Server thread/INFO]: <Mr_Legendary> later [13:56:40] [Server thread/INFO]: <ScareAtol> seey ya [13:56:50] [Server thread/INFO]: Mr_Legendary lost connection: Disconnected [13:56:50] [Server thread/INFO]: Mr_Legendary left the game [14:14:56] [Server thread/INFO]: ScareAtol lost connection: Disconnected [14:14:56] [Server thread/INFO]: ScareAtol left the game [14:18:35] [User Authenticator #5/INFO]: UUID of player mosguinz is f2707dba-a28c-44b0-8abc-73203fbc2e58 [14:18:35] [Server thread/INFO]: mosguinz[/127.0.0.1:51608] logged in with entity id 117590 at (-187.32142646743404, 12.0, -745.4053747163093) [14:18:35] [Server thread/INFO]: mosguinz joined the game [14:27:58] [User Authenticator #6/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [14:27:58] [Server thread/INFO]: ScareAtol[/118.92.94.212:56840] logged in with entity id 124826 at (-527.3667392042436, 75.0, -577.446941628733) [14:27:58] [Server thread/INFO]: ScareAtol joined the game [14:28:11] [Server thread/INFO]: <ScareAtol> sleep? [14:28:17] [Server thread/INFO]: mosguinz lost connection: Disconnected [14:28:17] [Server thread/INFO]: mosguinz left the game [14:28:48] [User Authenticator #7/INFO]: UUID of player mosguinz is f2707dba-a28c-44b0-8abc-73203fbc2e58 [14:28:48] [Server thread/INFO]: mosguinz[/127.0.0.1:51695] logged in with entity id 125458 at (-186.54775798987694, 12.0, -744.3000000119209) [14:28:48] [Server thread/INFO]: mosguinz joined the game [14:28:51] [Server thread/INFO]: <ScareAtol> ty [14:28:55] [Server thread/INFO]: <mosguinz> DFiscond? [14:29:00] [Server thread/INFO]: <mosguinz> Discord? [14:32:44] [Server thread/INFO]: ScareAtol lost connection: Timed out [14:32:44] [Server thread/INFO]: ScareAtol left the game [14:33:03] [User Authenticator #8/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [14:33:03] [Server thread/INFO]: ScareAtol[/118.92.94.212:56878] logged in with entity id 131428 at (-502.9966104763674, 76.0, -585.8567367159311) [14:33:03] [Server thread/INFO]: ScareAtol joined the game [14:33:42] [Server thread/INFO]: ScareAtol lost connection: Disconnected [14:33:42] [Server thread/INFO]: ScareAtol left the game [14:34:02] [User Authenticator #9/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [14:34:02] [Server thread/INFO]: ScareAtol[/118.92.94.212:56897] logged in with entity id 132747 at (-528.2665654588986, 76.0, -573.1941181477023) [14:34:02] [Server thread/INFO]: ScareAtol joined the game [14:35:38] [Server thread/INFO]: ScareAtol lost connection: Disconnected [14:35:38] [Server thread/INFO]: ScareAtol left the game [14:52:03] [Server thread/INFO]: mosguinz has made the advancement [Tactical Fishing] [15:11:23] [Server thread/INFO]: mosguinz lost connection: Disconnected [15:11:23] [Server thread/INFO]: mosguinz left the game [00:25:03] [Server thread/INFO]: Stopping the server [00:25:03] [Server thread/INFO]: Stopping server [00:25:03] [Server thread/INFO]: Saving players [00:25:03] [Server thread/INFO]: Saving worlds [00:25:03] [Server thread/INFO]: Saving chunks for level 'New World Self Checkout 3'/minecraft:overworld [00:25:03] [Server thread/INFO]: Saving chunks for level 'New World Self Checkout 3'/minecraft:the_nether [00:25:03] [Server thread/INFO]: Saving chunks for level 'New World Self Checkout 3'/minecraft:the_end [00:25:03] [Server Shutdown Thread/INFO]: Stopping server [00:25:03] [Server Shutdown Thread/INFO]: Saving players [00:25:03] [Server Shutdown Thread/INFO]: Saving worlds [00:25:03] [Server Shutdown Thread/INFO]: Saving chunks for level 'New World Self Checkout 3'/minecraft:overworld [00:25:03] [Server Shutdown Thread/INFO]: Saving chunks for level 'New World Self Checkout 3'/minecraft:the_nether [00:25:03] [Server Shutdown Thread/INFO]: Saving chunks for level 'New World Self Checkout 3'/minecraft:the_end [15:14:11] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [15:14:11] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [15:14:11] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [15:14:11] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [15:14:11] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [15:14:11] [main/INFO]: Loaded 0 recipes [15:14:11] [main/INFO]: Loaded 0 advancements [15:14:11] [Server thread/INFO]: Starting minecraft server version 1.13.2 [15:14:11] [Server thread/INFO]: Loading properties [15:14:11] [Server thread/INFO]: Default game type: SURVIVAL [15:14:11] [Server thread/INFO]: Generating keypair [15:14:12] [Server thread/INFO]: Starting Minecraft server on *:25565 [15:14:12] [Server thread/INFO]: Using default channel type [15:14:12] [Server thread/INFO]: Preparing level "New World Self Checkout 3" [15:14:12] [Server thread/INFO]: Reloading ResourceManager: Default [15:14:14] [Server thread/INFO]: Loaded 524 recipes [15:14:15] [Server thread/INFO]: Loaded 571 advancements [15:14:15] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld [15:14:15] [Server thread/INFO]: Preparing spawn area: 4% [15:14:15] [Server thread/INFO]: Preparing spawn area: 8% [15:14:15] [Server thread/INFO]: Preparing spawn area: 12% [15:14:15] [Server thread/INFO]: Preparing spawn area: 16% [15:14:15] [Server thread/INFO]: Preparing spawn area: 20% [15:14:15] [Server thread/INFO]: Preparing spawn area: 24% [15:14:15] [Server thread/INFO]: Preparing spawn area: 28% [15:14:15] [Server thread/INFO]: Preparing spawn area: 32% [15:14:15] [Server thread/INFO]: Preparing spawn area: 36% [15:14:15] [Server thread/INFO]: Preparing spawn area: 40% [15:14:15] [Server thread/INFO]: Preparing spawn area: 44% [15:14:15] [Server thread/INFO]: Preparing spawn area: 48% [15:14:15] [Server thread/INFO]: Preparing spawn area: 52% [15:14:15] [Server thread/INFO]: Preparing spawn area: 56% [15:14:16] [Server thread/INFO]: Preparing spawn area: 60% [15:14:16] [Server thread/INFO]: Preparing spawn area: 64% [15:14:16] [Server thread/INFO]: Preparing spawn area: 68% [15:14:16] [Server thread/INFO]: Preparing spawn area: 72% [15:14:16] [Server thread/INFO]: Preparing spawn area: 76% [15:14:16] [Server thread/INFO]: Preparing spawn area: 80% [15:14:16] [Server thread/INFO]: Preparing spawn area: 84% [15:14:16] [Server thread/INFO]: Preparing spawn area: 88% [15:14:16] [Server thread/INFO]: Preparing spawn area: 92% [15:14:16] [Server thread/INFO]: Preparing spawn area: 96% [15:14:16] [Server thread/INFO]: Preparing spawn area: 100% [15:14:16] [Server thread/INFO]: Time elapsed: 1204 ms [15:14:16] [Server thread/INFO]: Done (3.500s)! For help, type "help" [15:14:16] [Server thread/INFO]: Starting GS4 status listener [15:14:16] [Query Listener #1/INFO]: Query running on 0.0.0.0:25565 [15:28:28] [Server thread/INFO]: com.mojang.authlib.GameProfile@7e2e175f[id=<null>,name=ScareAtol,properties={},legacy=false] (/118.92.94.212:49970) lost connection: Disconnected [15:32:11] [User Authenticator #1/INFO]: UUID of player mosguinz is f2707dba-a28c-44b0-8abc-73203fbc2e58 [15:32:11] [Server thread/INFO]: mosguinz[/127.0.0.1:59805] logged in with entity id 158 at (-354.78744452277397, 116.0, -738.97415928784) [15:32:11] [Server thread/INFO]: mosguinz joined the game [15:34:42] [User Authenticator #2/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [15:34:42] [Server thread/INFO]: ScareAtol[/118.92.94.212:50116] logged in with entity id 3460 at (-524.5271906707937, 75.0, -608.3901638608368) [15:34:42] [Server thread/INFO]: ScareAtol joined the game [15:34:50] [Server thread/INFO]: <mosguinz> yo [15:34:53] [Server thread/INFO]: <ScareAtol> sup [15:35:09] [Server thread/INFO]: <ScareAtol> can you give me my mouse back btw [15:35:32] [Server thread/INFO]: <mosguinz> Yeah, do you want it when we go for the run? [15:36:02] [Server thread/INFO]: mosguinz has made the advancement [Best Friends Forever] [15:36:40] [Server thread/INFO]: <ScareAtol> yeah sure [15:37:33] [Server thread/INFO]: ScareAtol lost connection: Disconnected [15:37:33] [Server thread/INFO]: ScareAtol left the game [15:37:38] [User Authenticator #3/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [15:37:38] [Server thread/INFO]: ScareAtol[/118.92.94.212:50129] logged in with entity id 7892 at (-521.7864278935951, 75.0, -580.1938330314076) [15:37:38] [Server thread/INFO]: ScareAtol joined the game [15:41:33] [Server thread/INFO]: <ScareAtol> your going mining soon right [15:41:45] [Server thread/INFO]: <mosguinz> Yeah, in the mine rightnow. [15:41:48] [Server thread/INFO]: <ScareAtol> oh ok [15:41:55] [Server thread/INFO]: <mosguinz> Want to go raid a mineshaft, though. [15:42:02] [Server thread/INFO]: <mosguinz> If there is one close by. [15:42:05] [Server thread/INFO]: <ScareAtol> yeah need to find one [15:42:09] [Server thread/INFO]: <ScareAtol> fml its raining [15:43:50] [Server thread/INFO]: <ScareAtol> sleep? [15:43:57] [Server thread/INFO]: mosguinz lost connection: Disconnected [15:43:57] [Server thread/INFO]: mosguinz left the game [15:44:24] [User Authenticator #4/INFO]: UUID of player mosguinz is f2707dba-a28c-44b0-8abc-73203fbc2e58 [15:44:24] [Server thread/INFO]: mosguinz[/127.0.0.1:59909] logged in with entity id 17040 at (-187.908308829709, 30.0, -722.449829966954) [15:44:24] [Server thread/INFO]: mosguinz joined the game [15:44:29] [Server thread/INFO]: <ScareAtol> ty [15:46:20] [Server thread/INFO]: <ScareAtol> im coming soon [15:46:26] [Server thread/INFO]: <ScareAtol> how much food you got [15:46:31] [Server thread/INFO]: <mosguinz> 8 meat [15:50:04] [Server thread/INFO]: <ScareAtol> just gathering food first [15:50:37] [Server thread/INFO]: <mosguinz> ok np [15:51:23] [Server thread/INFO]: ScareAtol lost connection: Disconnected [15:51:23] [Server thread/INFO]: ScareAtol left the game [15:51:38] [User Authenticator #5/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [15:51:38] [Server thread/INFO]: ScareAtol[/118.92.94.212:50158] logged in with entity id 29830 at (-529.225951556813, 75.00133597911214, -591.1698465460145) [15:51:38] [Server thread/INFO]: ScareAtol joined the game [15:53:45] [Server thread/INFO]: ScareAtol has made the advancement [Enchanter] [15:53:59] [Server thread/INFO]: <ScareAtol> ok on my way [15:54:00] [Server thread/INFO]: <mosguinz> Ooh, you got the mending yet? [15:54:17] [Server thread/INFO]: <ScareAtol> nah just unbreaking on diamond pick, only 4 levels so meh [15:54:19] [Server thread/INFO]: <mosguinz> So we can make a farm. [15:54:26] [Server thread/INFO]: <ScareAtol> need to farm levels [15:54:41] [Server thread/INFO]: <mosguinz> Is that spawner you found far away? [15:54:51] [Server thread/INFO]: <ScareAtol> close to my place [15:55:03] [Server thread/INFO]: <ScareAtol> cave spider spawner though so a pain to use [15:55:08] [Server thread/INFO]: <mosguinz> OK, sweet. [15:55:13] [Server thread/INFO]: ScareAtol lost connection: Disconnected [15:55:13] [Server thread/INFO]: ScareAtol left the game [15:55:26] [User Authenticator #6/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [15:55:26] [Server thread/INFO]: ScareAtol[/118.92.94.212:50169] logged in with entity id 36046 at (-377.97096737794845, 76.0, -623.1643274756724) [15:55:26] [Server thread/INFO]: ScareAtol joined the game [15:56:24] [Server thread/INFO]: <ScareAtol> did you get my last message [15:56:33] [Server thread/INFO]: <mosguinz> No? [15:57:04] [Server thread/INFO]: <ScareAtol> oh, close to my house and they both are cave spider spawners so annoying to make a farm out of [15:57:10] [Server thread/INFO]: <ScareAtol> both near bed rock as well [15:57:19] [Server thread/INFO]: <mosguinz> Ah okay. [15:57:32] [Server thread/INFO]: <mosguinz> Probably can't if they are near bedrock. [15:57:34] [Server thread/INFO]: <ScareAtol> both take different paths? [15:57:37] [Server thread/INFO]: <ScareAtol> yeah [15:57:41] [Server thread/INFO]: <mosguinz> Yeah, opposites? [15:57:55] [Server thread/INFO]: <ScareAtol> how many picks you got [15:58:01] [Server thread/INFO]: <mosguinz> 3 [15:58:08] [Server thread/INFO]: <ScareAtol> got 2 iron 1 diamond [15:58:11] [Server thread/INFO]: <mosguinz> Well, 2 now. [15:58:17] [Server thread/INFO]: <ScareAtol> lmao heard the noise [15:59:06] [Server thread/INFO]: ScareAtol lost connection: Disconnected [15:59:06] [Server thread/INFO]: ScareAtol left the game [15:59:10] [User Authenticator #7/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [15:59:10] [Server thread/INFO]: ScareAtol[/118.92.94.212:50186] logged in with entity id 39391 at (-157.42113186326222, 12.0, -749.2121099547455) [15:59:10] [Server thread/INFO]: ScareAtol joined the game [16:00:35] [Server thread/INFO]: <ScareAtol> going different way cos I ran into your other mine [16:01:17] [Server thread/INFO]: <mosguinz> Yeah, okay. [16:01:24] [Server thread/INFO]: <mosguinz> I think this is the ravine entrance. [16:03:11] [Server thread/INFO]: <ScareAtol> how so [16:03:41] [Server thread/INFO]: <mosguinz> Just looks like one? [16:03:49] [Server thread/INFO]: <ScareAtol> oh right [16:04:57] [Server thread/INFO]: <ScareAtol> gotta do my vc thing at 5 [16:05:14] [Server thread/INFO]: <mosguinz> Lucky you. [16:05:26] [Server thread/INFO]: <mosguinz> My dude picked the time and didn't even fucking show up. [16:05:31] [Server thread/INFO]: <ScareAtol> XD [16:11:20] [Server thread/INFO]: <mosguinz> Found the ravine. [16:11:27] [Server thread/INFO]: <ScareAtol> nice [16:13:11] [Server thread/INFO]: mosguinz has made the advancement [Hot Stuff] [16:13:22] [Server thread/INFO]: <ScareAtol> fucken silverfish [16:13:29] [Server thread/INFO]: <mosguinz> End portal? [16:13:34] [Server thread/INFO]: <ScareAtol> mountains [16:17:42] [Server thread/INFO]: <ScareAtol> also found a ravine [16:19:43] [Server thread/INFO]: <ScareAtol> place is massive [16:19:50] [Server thread/INFO]: <mosguinz> Might be the same one. [16:19:57] [Server thread/INFO]: <ScareAtol> coords? [16:20:13] [Server thread/INFO]: <mosguinz> Ravine: -257 -738 [16:20:25] [Server thread/INFO]: <ScareAtol> about 400 blocks out [16:20:30] [Server thread/INFO]: <ScareAtol> could be maybe [16:21:47] [Server thread/INFO]: <ScareAtol> holy shit [16:21:55] [Server thread/INFO]: <mosguinz> ? [16:21:56] [Server thread/INFO]: <ScareAtol> rollercoaster of emotions XD [16:22:18] [Server thread/INFO]: <mosguinz> Lots of diamond; diamonds fell in lava? [16:22:48] [Server thread/INFO]: <ScareAtol> found diamonds, turned around and a creeper was there, panicked and jumped placed lava and the creeper blew up, explosion pushed me into lava and a river generated out of no where and saved me [16:23:18] [Server thread/INFO]: <mosguinz> So I was about right [16:23:24] [Server thread/INFO]: <ScareAtol> yeah haha [16:23:30] [Server thread/INFO]: <ScareAtol> this is massive [16:24:12] [Server thread/INFO]: <mosguinz> Do you want the lava pools? [16:24:19] [Server thread/INFO]: <mosguinz> Imma water it if you don't. [16:24:24] [Server thread/INFO]: <ScareAtol> nah [16:25:06] [Server thread/INFO]: <mosguinz> Cause I can hear Skelly around. Swear one time, one of those fuckers is going to knock me into the lava. [16:29:55] [Server thread/INFO]: <ScareAtol> so many mobds [16:32:03] [Server thread/INFO]: <mosguinz> Strip main corridor: -187 -744 [16:37:14] [Server thread/INFO]: <mosguinz> Oooh, emeralds. [16:40:37] [Server thread/INFO]: <mosguinz> wtf [16:40:47] [Server thread/INFO]: <ScareAtol> ? [16:40:50] [Server thread/INFO]: <mosguinz> How did fire catch on signs? [16:40:55] [Server thread/INFO]: <mosguinz> Through obsidian. [16:41:09] [Server thread/INFO]: <mosguinz> I don't even think you can set signs on fire. [16:41:26] [Server thread/INFO]: <ScareAtol> no idea [16:45:58] [Server thread/INFO]: <ScareAtol> im still mining XD [16:46:34] [Server thread/INFO]: <mosguinz> Yeah,s ame [16:48:07] [Server thread/INFO]: <ScareAtol> coords? [16:48:13] [Server thread/INFO]: <mosguinz> main corridor [16:48:21] [Server thread/INFO]: <ScareAtol> oh ok [16:49:32] [Server thread/WARN]: ScareAtol moved too quickly! 0.09313288078743653,0.0,-10.200802278761671 [16:49:35] [Server thread/INFO]: <mosguinz> Going back to the ravine, though. [16:49:37] [Server thread/INFO]: ScareAtol lost connection: Disconnected [16:49:37] [Server thread/INFO]: ScareAtol left the game [16:53:32] [Server thread/INFO]: mosguinz lost connection: Disconnected [16:53:32] [Server thread/INFO]: mosguinz left the game [16:55:45] [User Authenticator #8/INFO]: UUID of player mosguinz is f2707dba-a28c-44b0-8abc-73203fbc2e58 [16:55:45] [Server thread/INFO]: mosguinz[/127.0.0.1:61035] logged in with entity id 112365 at (-308.165418049279, 11.0, -787.5828296222076) [16:55:45] [Server thread/INFO]: mosguinz joined the game [17:07:20] [Server thread/INFO]: mosguinz lost connection: Disconnected [17:07:20] [Server thread/INFO]: mosguinz left the game [17:42:56] [User Authenticator #9/INFO]: UUID of player Jakeydeath is 7bec112b-2be0-472d-96b3-c1c3cc9c717b [17:42:56] [Server thread/INFO]: Jakeydeath[/111.69.80.251:50071] logged in with entity id 120187 at (-626.1887130250993, 73.0, -657.8086753102864) [17:42:56] [Server thread/INFO]: Jakeydeath joined the game [17:53:18] [Server thread/INFO]: Jakeydeath has made the advancement [Monster Hunter] [18:03:17] [Server thread/INFO]: Jakeydeath lost connection: Disconnected [18:03:17] [Server thread/INFO]: Jakeydeath left the game [18:10:02] [User Authenticator #10/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:10:02] [Server thread/INFO]: ScareAtol[/118.92.94.212:51795] logged in with entity id 134505 at (-116.30000001192094, 11.0, -1021.8904281581781) [18:10:02] [Server thread/INFO]: ScareAtol joined the game [18:10:52] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:10:52] [Server thread/INFO]: ScareAtol left the game [18:11:08] [User Authenticator #11/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:11:08] [Server thread/INFO]: ScareAtol[/118.92.94.212:51820] logged in with entity id 135355 at (-116.6124675323047, 11.0, -1039.3959881751712) [18:11:08] [Server thread/INFO]: ScareAtol joined the game [18:24:34] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:24:34] [Server thread/INFO]: ScareAtol left the game [18:24:59] [User Authenticator #12/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:25:00] [Server thread/INFO]: ScareAtol[/118.92.94.212:52035] logged in with entity id 143801 at (-152.6505938446317, 34.0, -1161.4342703502982) [18:25:00] [Server thread/INFO]: ScareAtol joined the game [18:25:27] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:25:27] [Server thread/INFO]: ScareAtol left the game [18:25:54] [User Authenticator #13/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:25:54] [Server thread/INFO]: ScareAtol[/118.92.94.212:52052] logged in with entity id 144093 at (-161.02748635095614, 35.0, -1146.994120053297) [18:25:54] [Server thread/INFO]: ScareAtol joined the game [18:27:58] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:27:58] [Server thread/INFO]: ScareAtol left the game [18:28:02] [User Authenticator #14/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:28:02] [Server thread/INFO]: ScareAtol[/118.92.94.212:52064] logged in with entity id 145888 at (-188.5975039487098, 15.0, -1177.2377110860566) [18:28:02] [Server thread/INFO]: ScareAtol joined the game [18:29:49] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:29:49] [Server thread/INFO]: ScareAtol left the game [18:30:13] [User Authenticator #15/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:30:13] [Server thread/INFO]: ScareAtol[/118.92.94.212:52093] logged in with entity id 147511 at (-203.99603190138149, 18.0, -1187.699999988079) [18:30:13] [Server thread/INFO]: ScareAtol joined the game [18:34:36] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:34:36] [Server thread/INFO]: ScareAtol left the game [18:34:41] [User Authenticator #16/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:34:41] [Server thread/INFO]: ScareAtol[/118.92.94.212:52143] logged in with entity id 150929 at (-165.4006393126023, 13.921599998474122, -1137.417746922314) [18:34:41] [Server thread/INFO]: ScareAtol joined the game [18:36:14] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:36:14] [Server thread/INFO]: ScareAtol left the game [18:37:43] [User Authenticator #17/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:37:43] [Server thread/INFO]: ScareAtol[/118.92.94.212:52182] logged in with entity id 152007 at (-135.60791354299897, 17.0, -1083.90747069436) [18:37:43] [Server thread/INFO]: ScareAtol joined the game [18:45:56] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:45:56] [Server thread/INFO]: ScareAtol left the game [18:46:01] [User Authenticator #18/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [18:46:01] [Server thread/INFO]: ScareAtol[/118.92.94.212:52267] logged in with entity id 158309 at (57.30000001192092, 11.0, -1115.452467399931) [18:46:01] [Server thread/INFO]: ScareAtol joined the game [18:46:41] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 3415ms or 68 ticks behind [18:55:04] [Server thread/INFO]: ScareAtol lost connection: Disconnected [18:55:04] [Server thread/INFO]: ScareAtol left the game [23:04:55] [User Authenticator #19/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:04:55] [Server thread/INFO]: ScareAtol[/118.92.94.212:54528] logged in with entity id 166906 at (114.37915963177058, 11.0, -1115.6800320104119) [23:04:55] [Server thread/INFO]: ScareAtol joined the game [23:06:41] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:06:41] [Server thread/INFO]: ScareAtol left the game [23:07:01] [User Authenticator #20/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:07:01] [Server thread/INFO]: ScareAtol[/118.92.94.212:54538] logged in with entity id 168806 at (-48.86554985444371, 11.0, -1115.300000011921) [23:07:01] [Server thread/INFO]: ScareAtol joined the game [23:13:15] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:13:15] [Server thread/INFO]: ScareAtol left the game [23:13:19] [User Authenticator #21/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:13:19] [Server thread/INFO]: ScareAtol[/118.92.94.212:54553] logged in with entity id 175040 at (-169.34402944393335, 14.0, -919.3000000119209) [23:13:19] [Server thread/INFO]: ScareAtol joined the game [23:13:55] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:13:55] [Server thread/INFO]: ScareAtol left the game [23:14:11] [User Authenticator #22/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:14:11] [Server thread/INFO]: ScareAtol[/118.92.94.212:54559] logged in with entity id 175849 at (-176.39599654955535, 11.0, -961.9498187616142) [23:14:11] [Server thread/INFO]: ScareAtol joined the game [23:15:02] [Server thread/INFO]: <ScareAtol> do you neeed any materials [23:15:23] [Server thread/INFO]: <ScareAtol> i got 22 diamonds [23:15:36] [Server thread/INFO]: <ScareAtol> and yeah 6 emeralds [23:15:48] [Server thread/INFO]: <ScareAtol> but got like 30 at home [23:19:06] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:19:06] [Server thread/INFO]: ScareAtol left the game [23:19:10] [User Authenticator #23/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:19:10] [Server thread/INFO]: ScareAtol[/118.92.94.212:54579] logged in with entity id 180413 at (-159.69999998807907, 10.0, -754.0566662601203) [23:19:10] [Server thread/INFO]: ScareAtol joined the game [23:25:40] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:25:40] [Server thread/INFO]: ScareAtol left the game [23:25:45] [User Authenticator #24/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:25:45] [Server thread/INFO]: ScareAtol[/118.92.94.212:54603] logged in with entity id 188748 at (-537.2554040573251, 73.0, -588.9644814430237) [23:25:45] [Server thread/INFO]: ScareAtol joined the game [23:26:29] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:26:29] [Server thread/INFO]: ScareAtol left the game [23:26:33] [User Authenticator #25/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:26:33] [Server thread/INFO]: ScareAtol[/118.92.94.212:54612] logged in with entity id 189265 at (-525.1656559077217, 75.0, -575.6366032406333) [23:26:33] [Server thread/INFO]: ScareAtol joined the game [23:28:46] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:28:46] [Server thread/INFO]: ScareAtol left the game [23:28:51] [User Authenticator #26/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:28:51] [Server thread/INFO]: ScareAtol[/118.92.94.212:54625] logged in with entity id 190821 at (-526.8502488645632, 75.875, -575.7313643979833) [23:28:51] [Server thread/INFO]: ScareAtol joined the game [23:31:38] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:31:38] [Server thread/INFO]: ScareAtol left the game [23:31:45] [User Authenticator #27/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:31:45] [Server thread/INFO]: ScareAtol[/118.92.94.212:54636] logged in with entity id 193288 at (-524.5, 75.0999984741211, -569.5) [23:31:45] [Server thread/INFO]: ScareAtol joined the game [23:32:17] [Server thread/INFO]: ScareAtol lost connection: Timed out [23:32:17] [Server thread/INFO]: ScareAtol left the game [23:32:47] [User Authenticator #28/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:32:47] [Server thread/INFO]: ScareAtol[/118.92.94.212:54643] logged in with entity id 193577 at (-524.5, 75.0999984741211, -569.5) [23:32:47] [Server thread/INFO]: ScareAtol joined the game [23:33:31] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:33:31] [Server thread/INFO]: ScareAtol left the game [23:33:40] [User Authenticator #29/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:33:40] [Server thread/INFO]: ScareAtol[/118.92.94.212:54655] logged in with entity id 194695 at (-451.27750604412824, 76.0, -652.2947881043672) [23:33:40] [Server thread/INFO]: ScareAtol joined the game [23:34:17] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:34:17] [Server thread/INFO]: ScareAtol left the game [23:34:24] [User Authenticator #30/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:34:25] [Server thread/INFO]: ScareAtol[/118.92.94.212:54685] logged in with entity id 197123 at (-400.30000001192093, 104.0, -669.6999999880791) [23:34:25] [Server thread/INFO]: ScareAtol joined the game [23:34:54] [Server thread/INFO]: ScareAtol lost connection: Timed out [23:34:54] [Server thread/INFO]: ScareAtol left the game [23:35:00] [User Authenticator #31/INFO]: UUID of player ScareAtol is 39529982-7f25-4ac1-ad73-2b8a561b7697 [23:35:00] [Server thread/INFO]: ScareAtol[/118.92.94.212:54714] logged in with entity id 197394 at (-400.30000001192093, 104.0, -669.6999999880791) [23:35:00] [Server thread/INFO]: ScareAtol joined the game [23:44:15] [Server thread/INFO]: ScareAtol lost connection: Disconnected [23:44:15] [Server thread/INFO]: ScareAtol left the game ` for i, match := range re.FindAllString(str, -1) { fmt.Println(match, "found at index", i) } }

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for Golang, please visit: https://golang.org/pkg/regexp/