Generation

regex explanationTue, 09 May 2023

/^[{].+},/

The regex matches the first bracket, then any character, then any number of characters, then a comma.

Questions about programming?Chat with your personal AI assistant