Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
(action\s.{0,}path.{1,}\/(@ACTION@)")|(form-bean\s.{0,}name="(@FORM@))"|(forward\s.{0,}name="(@FORWARD@)")
/
g

Description

find action,form,forward struts Remplace @ACTION@ = action struts Remplace @FORM@ = form name struts Remplace @FORWARD@ = forward name struts

Submitted by anonymous - 9 years ago