RegEx: return match not line

A quick RegEx snippet to ensure only thew matched sub-sting is returned on a match…

To extract part of a string from a line, example given below. RegEx:

on:

catches:

Useful in batch Visual Studio search and replace..

About stigzler 48 Articles
Chief crook and wattle bosher.

Be the first to comment

Leave a Reply

Your email address will not be published.


*