How to assign names to capture groups in regex?
The syntax to assign a name to a capture group is (?<captureGroupName>patternToMatch).Let’s see an example : // Javascript code var str = "My birth date…
Notifications