Regular Expressions 101

Match path that starts with

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 - 9 months ago (Last modified 9 months ago)