Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(^\.)?((?<=\.?)\/src)|(src\/)
/
mg

Description

In my nuxt automation I want to remove src from path because nuxt don't have src dir.

hence I want to remove src prefix from all path

Submitted by JD Solanki - a year ago (Last modified a year ago)