RegEx: return match not line

A quick RegEx snippet…

 

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

on:

catches:

Useful in batch Visual Studio search and replace..

Be the first to comment

Leave a Reply

Your email address will not be published.


*