Regular Expressions 101

Community Patterns

Your search did not match anything

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 - 2 years ago (Last modified 2 years ago)