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…
I have some lines below in which I want fetch only those lines where .com does not exist: Sample Lines : https://abc.com – Test sitehttps://testProfile.in…