Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Very clear explanation, thank you.
That's a fair criticism. I think your fork is better.
It is in the MDN docs here. This table shows all of the 'magic strings' you can pass to
String.prototype.replace
.Hi ozichukwu,
$1
refers to the first group (captured by the()
).Thanks! That's good to know. That would certainly make the expression a bit cleaner.