Regular Expressions 101

Community Library Entry

0

Regular Expression
Java 8

"
\/research\/
"
gm

Description

This regex convert following text: /research/the-123s-of-school-choice/

INTO: /research-library/?report=the-123s-of-school-choice

Submitted by Suman Maharjan - 4 years ago (Last modified 4 years ago)