Regular Expressions 101

Community Patterns

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