Regular Expressions 101

Community Patterns

add interfaces to ef models

0

Regular Expression
PCRE (PHP <7.3)

/
(namespace FeedStore\.Stores\.EF\.Entities\.Master)(\r\n|\n)({)(\r\n|\n)\s+(public partial class )\s*(\w+)
/
gm

Description

Use this to add interfaces to ef models using vs replace all with regex

Submitted by anonymous - 3 years ago