Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
g

Test String

Substitution

Processing...

Code Generator

Generated Code

$re = '/(?msx)^\s*<action\s* (?:name\s*=\s*"(?<name>[^"]+)"\s* |parameter\s*=\s*"(?<parameter>[^"]+)"\s* |path\s*=\s*"(?<path>[^"]+)"\s* |type\s*=\s*"(?<type>[^"]+)"\s* |scope\s*=\s*"(?<scope>[^"]+)"\s* |validate\s*=\s*"(?<validate>[^"]+)"\s* |input\s*=\s*"(?<input>[^"]+)"\s*)+>\s* (?<props>(?:<set-property\s*(?:property\s*=\s*"(?:[^"]*)"\s*|value\s*=\s*"(?:[^"]*)"\s*)+\s*\/>\s*)*) (?<forwards>(?:<forward\s*.*?\/>\s*)*)<\/\s*action\s*> /'; $str = '<action path="/grplAction" type="gbom.grpl.clt.GRPLAction" name="grplForm" scope="request" input="/index.jsp"> <forward name="viewPartList" path="/ViewPartList.jsp"/> <forward name="editPartList" path="/EditPartList.jsp"/> <forward name="editedPartList" path="/grplAction.do?mode=coes&type=edit"/> <forward name="deSelected" path="/grplAction.do?mode=grpl&type=edit"/> <forward name="createQuery" path="/CreateQuery.jsp"/> <forward name="editQuery" path="/EditQuery.jsp"/> <forward name="deleteQuery" path="/DeleteQuery.jsp"/> <forward name="executeQuery" path="/PartLists.jsp"/> <forward name="executeReq" path="/grplParseAction.do?action=parse&first=true"/> <forward name="grplerrorPage" path="/GRPLApplicationError.jsp"/> </action> <action path="/grplDownloadAction" type="gbom.grpl.clt.GRPLDownloadAction" name="grplForm" scope="request" input="/index.jsp"> <forward name="grplerrorPage" path="/GRPLApplicationError.jsp"/> </action> <action path="/grplParseAction" type="gbom.grpl.clt.GRPLParsingAction" name="grplForm" scope="request" input="/index.jsp"> <forward name="grplerrorPage" path="/GRPLApplicationError.jsp"/> <forward name="executeQuery" path="/PartLists.jsp"/> <forward name="viewPartList" path="/ViewPartList.jsp"/> </action> <action path="/vppsTree" type="gbom.general.vppstree.clt.VPPSAction" scope="request" input="/index.jsp"> <forward name="vppsTree" path="/VppsTree.jsp"/> </action> <action path="/logoff" type="gbom.general.logoff.clt.LogoffAction" scope="request" input="/index.jsp"> <forward name="loginPage" path="/Login.jsp"/> </action> <action path="/helpTree" type="gbom.general.help.clt.HelpTreeAction" scope="request" input="/index.jsp"> <forward name="helpTree" path="/Help.jsp"/> </action> <action path="/helpMapOverView" type="gbom.general.help.clt.HelpMapAction" scope="request" input="/Help.jsp"></action> <action path="/viewvariant" type="com.gbomapp.coes.variant.action.VariantListAction" scope="request" input="/index.jsp"> <forward name="variantlist" path="/VariantListTemplate.jsp"/> </action> <action path="/viewfamilydetails" type="com.gbomapp.coes.functions.action.ListFamilyAction" name="AddFamilyInfo" scope="session" input="/index.jsp"> <forward name="familylist" path="/FamilyListTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/addfamilylist" type="com.gbomapp.coes.functions.action.ListFamilyAction" name="AddFamilyInfo" scope="session" input="/FamilyList.jsp"> <forward name="familylist" path="/FamilyListTemplate.jsp"/> <forward name="search" path="/searchFamilyContacts.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/addFamilyContact" type="com.gbomapp.coes.functions.action.FamilyContactAction" name="AddFamilyInfo" scope="session" input="/FamilyList.jsp"> <forward name="familyContact" path="/FamilyContactTemplate.jsp"/> </action> <action path="/viewreparentfamily" type="com.gbomapp.coes.functions.action.ReparentFamilyAction" name="AddFamilyInfo" scope="session" input="/index.jsp"> <forward name="reparentfamily" path="/ReparentFamilyTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/addreparentfamily" type="com.gbomapp.coes.functions.action.ReparentFamilyAction" name="AddFamilyInfo" scope="session" input="/ReparentFamily.jsp"> <forward name="reparentfamily" path="/ReparentFamilyTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantaction" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/VariantManagementTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantaction" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/VariantManagementTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionAdd" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=add"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionSelect" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=select"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionEdit" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=edit"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionEdited" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=edited"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionDelete" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=delete"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionDeleted" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=deleted"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionUndelete" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=undelete"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionUndel" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=undel"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionHide" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=hide"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/variantactionUnhide" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/variantaction.do?req=unhide"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/viewvariantdetails" type="com.gbomapp.coes.functions.action.ListVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="variantlist" path="/VariantManagementTemplate.jsp"/> <forward name="close1" path="/VarMessage.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/viewreparentvariant" type="com.gbomapp.coes.functions.action.ReparentVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="reparentvariant" path="/ReparentVariantTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/addreparentvariant" type="com.gbomapp.coes.functions.action.ReparentVariantAction" name="VariantInfo" scope="session" input="/index.jsp"> <forward name="reparentvariant" path="/ReparentVariantTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/pendingfamilyapproval" type="com.gbomapp.coes.familyapproval.action.FamilyApprovalAction" name="ApproveFamily" scope="request" input="/index.jsp"> <forward name="familyapprovelist" path="/FamilyApprovalTemplate.jsp"/> </action> <action path="/pendingfamilydetails" type="com.gbomapp.coes.familyapproval.action.FamilyApprovalDetailAction" name="ApproveFamDetail" scope="request" input="/index.jsp"> <forward name="familyapprovedetail" path="/PendingFamilyTemplate.jsp"/> </action> <action path="/pendingfamilyaction" type="com.gbomapp.coes.familyapproval.action.FamilyApprovalDetailAction" name="ApproveFamDetail" scope="request" input="/index.jsp"> <forward name="familyapprovedetail" path="/PendingFamilyTemplate.jsp"/> </action> <action path="/pendingvariantapproval" type="com.gbomapp.coes.variantapproval.action.VariantApprovalAction" name="ApproveVariant" scope="session" input="/index.jsp"> <forward name="variantapprovelist" path="/PendingVariantTemplate.jsp"/> </action> <action path="/pendingvariantdetails" type="com.gbomapp.coes.variantapproval.action.VariantApprovalDetailAction" name="ApproveVarDetail" scope="session" input="/index.jsp"> <forward name="variantapprovedetail" path="/VariantApprovalTemplate.jsp"/> </action> <action path="/pendingmodlevel" type="com.gbomapp.coes.modlevel.action.PendingModLevelAction" name="pendingModLevel" scope="session" input="/index.jsp"> <forward name="pendingmodlevel" path="/PendingModLevelTemplate.jsp"/> </action> <action path="/finalpendingvariantapproval" type="com.gbomapp.coes.variantapproval.action.FinalVariantApprovalAction" name="ApproveVariant" scope="session" input="/index.jsp"> <forward name="finalvariantapprovelist" path="/FinalPendingVariantTemplate.jsp"/> </action> <action path="/finalpendingvariantdetails" type="com.gbomapp.coes.variantapproval.action.FinalVariantApprovalDetailAction" name="ApproveVarDetail" scope="session" input="/index.jsp"> <forward name="finalvariantapprovedetail" path="/FinalVariantApprovalTemplate.jsp"/> </action> <action path="/reviewpendingvariantapproval" type="com.gbomapp.coes.variantapproval.action.ReviewVariantApprovalAction" name="ApproveVariant" scope="session" input="/index.jsp"> <forward name="reviewpendingvariantapproval" path="/ReviewPendingVariantTemplate.jsp"/> </action> <action path="/pendingassessments" type="com.gbomapp.coes.assessments.action.PendingAssessmentsAction" name="pendingAssessments" scope="session" input="/index.jsp"> <forward name="pendingassessments" path="/PendingAssessmentTemplate.jsp"/> <forward name="redvariants" path="/RemoveRedVariantTemplate.jsp"/> </action> <action path="/viewvariant" type="com.gbomapp.coes.variant.action.VariantListAction" scope="request" input="/index.jsp"> <forward name="variantlist" path="/VariantListTemplate.jsp"/> </action> <action path="/listvariantsfortask" type="com.gbomapp.coes.tasklist.action.ListVariantsForTaskAction" scope="session" input="/StartAssessment.jsp"> <forward name="taskVariantListResult" path="/TaskVariantListTemplate.jsp"/> <forward name="pendingAssessmentResult" path="/PendingAssessmentDisplay.jsp"/> </action> <action path="/generalassessment" type="com.gbomapp.coes.tasklist.action.GeneralAssessmentAction" name="assessForm" scope="session" input="/TaskVariantListTemplate.jsp"> <forward name="generalassessment" path="/GeneralAssessmentDisplay.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> <forward name="notEntitlePage" path="/NotEntitledError.jsp"/> <forward name="showvariantreview" path="/DisplayVariantReviewReadOnly.jsp"/> <forward name="sessionExpired" path="/SessionExpired.jsp"/> <forward name="AssessmentError" path="/AssessmentError.jsp"/> </action> <action path="/currentassessment" type="com.gbomapp.coes.tasklist.action.CurrentAssessmentAction" name="assessForm" scope="session" input="/COESAssessmentDisplay.jsp"> <forward name="generalassessment" path="/GeneralAssessmentDisplay.jsp"/> <forward name="notEntitlePage" path="/NotEntitledError.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> <forward name="sessionExpired" path="/SessionExpired.jsp"/> <forward name="AssessmentError" path="/AssessmentError.jsp"/> </action> <action path="/selectassessment" type="com.gbomapp.coes.tasklist.action.AssessmentAction" name="assessForm" scope="session" input="/TaskVariantListTemplate.jsp"> <forward name="generalassessment" path="/GeneralAssessmentDisplay.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> <forward name="sessionExpired" path="/SessionExpired.jsp"/> <forward name="AssessmentError" path="/AssessmentError.jsp"/> </action> <action path="/selectradials" type="com.gbomapp.coes.tasklist.action.SelectRadialAction" name="assessForm" scope="session" input="/GeneralAssessmentDisplay.jsp"> <forward name="generalassessment" path="/GeneralAssessmentDisplay.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> <forward name="sessionExpired" path="/SessionExpired.jsp"/> <forward name="AssessmentError" path="/AssessmentError.jsp"/> </action> <action path="/selectarchive" type="com.gbomapp.coes.tasklist.action.SelectArchiveAction" name="assessForm" scope="session" input="/GeneralAssessmentDisplay.jsp"> <forward name="generalassessment" path="/GeneralAssessmentDisplay.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> <forward name="sessionExpired" path="/SessionExpired.jsp"/> <forward name="AssessmentError" path="/AssessmentError.jsp"/> </action> <action path="/selectreccom" type="com.gbomapp.coes.tasklist.action.SelectReccomAction" name="assessForm" scope="session" input="/GeneralAssessmentDisplay.jsp"> <forward name="generalassessment" path="/GeneralAssessmentDisplay.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> <forward name="sessionExpired" path="/SessionExpired.jsp"/> <forward name="AssessmentError" path="/AssessmentError.jsp"/> </action> <action path="/selectcrossfunc" type="com.gbomapp.coes.tasklist.action.SelectCrossFuncAction" name="assessForm" scope="session" input="/GeneralAssessmentDisplay.jsp"> <forward name="generalassessment" path="/GeneralAssessmentDisplay.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> <forward name="sessionExpired" path="/SessionExpired.jsp"/> <forward name="AssessmentError" path="/AssessmentError.jsp"/> </action> <action path="/coesvariantlisting" type="com.gbomapp.coes.tasklist.action.COESListAction" name="coesForm" scope="request" input="/PendingAssessmentDisplay.jsp"> <forward name="coesvariantdisplay" path="/COESAssessmentDisplay.jsp"/> </action> <action path="/coesassessmentsummaryreport" type="com.gbomapp.coes.reports.action.AssessmentSummaryReportAction" name="coesAssessReportForm" scope="session" input="/COESReportMain.jsp"> <forward name="reportselection" path="/COESReportMain.jsp"/> <forward name="reportview" path="/SummaryReportResultFrame.jsp"/> <forward name="showScreen" path="/SummaryReportResult.jsp"/> <forward name="showButtons" path="/ShowReportButtons.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> </action> <action path="/coesvariantreportdownload" type="com.gbomapp.coes.reports.action.VariantApprovalStatusReportAction" name="coesDownReportForm" scope="request" input="/COESReportMain.jsp"> <forward name="reportselection" path="/COESReportMain.jsp"/> <forward name="errorpage" path="/ApplicationError.jsp"/> </action> <action path="/radialmaintenance" type="gbom.coes.radial.maintain.clt.ViewRadialMaintaintenanceAction" name="radMaintForm" scope="session" input="/index.jsp"> <forward name="radialmaintain" path="/createRadialTemplate.jsp"/> <forward name="loginPage" path="/Login.jsp"/> <forward name="errorPage" path="/ApplicationError.jsp"/> <forward name="entitleErrorPage" path="/NotEntitledError.jsp"/> </action> <action path="/searchVariant" type="com.gbomapp.coes.assessments.action.SearchVariantAction" name="SearchVariantForm" scope="session"> <forward name="searchvariant" path="/SearchVariant.jsp"/> </action> <action path="/mytaskslist" type="gbom.mytasks.clt.MyTasksAction" name="taskcounter" scope="request" input="/index.jsp"> <forward name="mytaskslist" path="/MyTasksTemplate.jsp"/> </action> <action path="/architecture" type="gbom.admin.gbomtree.clt.ArchitectureAction" name="pcsForm" scope="session" input="/index.jsp"> <forward name="architecture" path="/ArchitectureTemp.jsp"/> </action> <action path="/modelyear" type="gbom.admin.gbomtree.clt.ModelYearAction" name="pcsForm" scope="session" input="/ModelYear.jsp"> <forward name="modelyear" path="/ModelYearTemp.jsp"/> </action> <action path="/program" type="gbom.admin.gbomtree.clt.ProgramAction" name="pcsForm" scope="session" input="/index.jsp"> <forward name="program" path="/ProgramTemp.jsp"/> </action> <action path="/bodystyle" type="gbom.admin.gbomtree.clt.BodyStyleAction" name="pcsForm" scope="session" input="/index.jsp"> <forward name="bodystyle" path="/BodyStyleTemp.jsp"/> </action> <action path="/pcsmodel" type="gbom.admin.pcs.clt.PCSModelAction" name="pcsmodelForm" scope="session" input="/index.jsp"> <forward name="model" path="/PCSModelTemp.jsp"/> </action> <action path="/pcshierachy" type="gbom.admin.pcs.clt.PCSHierachyAction" name="pcshierachyForm" scope="session" input="/index.jsp"> <forward name="pcshierachy" path="/PCSHierachyTemp.jsp"/> </action> <action path="/lifecycle" type="gbom.admin.programlifecycle.clt.ProgramLifeCycleAction" name="programLifeCycleForm" scope="session" input="/index.jsp"> <forward name="lifecycle" path="/ProgramLifeCycleTemp.jsp"/> </action> <action path="/copy" type="gbom.pbom.copymodel.clt.CopySelectAction" name="copyselectform" scope="session" input="/index.jsp"> <forward name="copyselect" path="/CopySelect.jsp"/> </action> <action path="/copymodel" type="gbom.pbom.copymodel.clt.CopyModelAction" name="copymodelform" scope="session" input="/index.jsp"> <forward name="copymodel" path="/CopyModel.jsp"/> </action> <action path="/copymodelselection" type="gbom.pbom.copymodel.clt.CopySelectAction" name="copyselectform" scope="session" input="/index.jsp"> <forward name="copyselect" path="/CopyModelSelect.jsp"/> </action> <action path="/copymodelamy" type="gbom.pbom.copymodel.clt.CopyModelAcrossAMYAction" name="copyModelAcrossAMYForm" scope="session" input="/index.jsp"> <forward name="CopyModelAMY" path="/CopyModelAMY.jsp"/> <forward name="save" path="/copyModel.do"/> </action> <action path="/setcontext" type="gbom.general.SetVppsTreeAction" input="/index.jsp"> <forward name="vppsclose" path="/VppsTreeClose.jsp" redirect="false"/> </action> <action path="/programList" type="gbom.pbom.programlist.clt.ProgramListAction" name="programform" scope="session" input="/index.jsp"> <forward name="programlist" path="/ProgramList.jsp"/> <forward name="reportlist" path="/ReportList.jsp"/> </action> <action path="/submitprogram" name="programform" scope="request" input="/ProgramList.jsp" type="gbom.pbom.programlist.clt.ProgramAction"> <forward name="pickArch" path="/viewpick.do"/> <forward name="pick" path="/viewpick.do?checkPage=pick"/> <forward name="freeze" path="/viewpick.do?checkPage=freeze"/> </action> <action path="/savepick" type="gbom.pbom.picker.clt.SavePickAction" name="viewPickForm" scope="session"> <forward name="pick" path="/PickTempFrame.jsp"/> <forward name="assign" path="/assignmain.do?fromPick=1"/> </action> <action path="/viewpick" type="gbom.pbom.picker.clt.ViewPickAction" name="viewPickForm" scope="session"> <forward name="viewpicks" path="/PickTempFrame.jsp"/> <forward name="viewfreeze" path="/VPPSFreezeFrame.jsp"/> <forward name="viewAssignPop" path="/view_picked_page_frames.jsp"/> <forward name="viewPickData" path="/viewpick.do"/> <forward name="viewAssignedData" path="/view_picked_assign_temp.jsp"/> </action> <action path="/saveFreeze" type="gbom.pbom.vppsfreeze.clt.VppsFreezeVariantAction" name="viewPickForm" scope="session"> <forward name="viewfreeze" path="/VPPSFreezeFrame.jsp"/> <forward name="viewfreezesave" path="/viewpick.do?checkPage=Freeze&value=All"/> </action> <action path="/savedependentpick" type="gbom.pbom.picker.clt.SaveDepPickAction" name="viewDepPickForm" scope="session"> <forward name="depclose" path="/DependentClose.jsp" redirect="false"/> </action> <action path="/viewdependentpick" type="gbom.pbom.picker.clt.ViewDepPickAction" name="viewDepPickForm" scope="session"> <forward name="viewdeppicks" path="/DepPickTempFrameDetails.jsp"/> </action> <action path="/multiplepickreason" type="gbom.pbom.picker.clt.MultiplePickReasonAction" name="multiplereasonform" scope="session"> <forward name="pickReason" path="/PickListReason.jsp"/> <forward name="close" path="/Message.jsp"/> </action> <action path="/assign" type="gbom.pbom.assign.clt.AssignAction" name="assignform" scope="session"> <forward name="assign" path="/AssignTemplateF1.jsp"/> <forward name="assignpopulate" path="/AssignDetailTemp.jsp"/> <forward name="assignpop" path="/AssignTempFrame.jsp"/> </action> <action path="/assignmain" type="gbom.pbom.assign.clt.AssignAction" name="assignform" scope="session"> <forward name="assign" path="/AssignTempFrame.jsp"/> </action> <action path="/saveassign" type="gbom.pbom.assign.clt.SaveAssignAction" name="assignform" scope="session"> <forward name="programlist" path="/assign.do"/> </action> <action path="/filtermodel" type="gbom.pbom.filtermodel.clt.FilterModelAction" name="filtermodelform" scope="request"> <forward name="filterModel" path="/FilterModel.jsp" redirect="false"/> <forward name="filterclose" path="/FilterModelClose.jsp" redirect="false"/> </action> <action path="/ratify" type="gbom.pbom.ratify.clt.RatifyListAction" name="ratifyform" scope="session" input="/index.jsp"> <forward name="ratify" path="/RatifyTempFrame.jsp"/> <forward name="ratifydetail" path="/RatifyDetailTemp.jsp"/> </action> <action path="/freezeapprove" type="gbom.pbom.approve.clt.ApproveFreezeAction" name="approveform" scope="session" input="/index.jsp"> <forward name="approve" path="/ApproveList.jsp"/> </action> <action path="/ratifycount" type="gbom.pbom.ratify.clt.RatifyCountAction" name="ratifycountform" scope="request" input="/ApproveList.jsp"> <forward name="ratifycount" path="/RatifyDetails.jsp"/> </action> <action path="/variantusage" type="gbom.assign.clt.PickVariantUsageAction" name="pickvariantusageform" scope="request" input="/VariantDetails.jsp"> <forward name="variantusage" path="/ProgramVariantUsage.jsp"/> </action> <action path="/modelstatus" type="gbom.pbom.modelstatus.clt.ViewModelStatusAction" name="modelcompletestatusform" scope="session" input="/index.jsp"> <forward name="statusdetails" path="/ModelStatusUpdation.jsp"/> </action> <action path="/savemodelstatus" type="gbom.pbom.modelstatus.clt.SaveModelStatusAction" name="modelcompletestatusform" scope="session" input="/ModelStatusUpdation.jsp"> <forward name="close" path="/Close.jsp"/> </action> <action path="/statusdetails" type="gbom.pbom.modelstatus.clt.ModelStatusAction" scope="request" input="/index.jsp"> <forward name="status" path="/ModelCompletionStatus.jsp"/> </action> <action path="/investment" type="gbom.pbom.investment.clt.InvestmentAction" scope="session" name="investmentdetailsform" input="/Index.jsp"> <forward name="investment" path="/InvestmentTempFrame.jsp"/> <forward name="investmentdetail" path="/InvestmentDetailTemp.jsp"/> </action> <action path="/fileview" type="gbom.assign.clt.FileViewAction" scope="request" input="/VariantDetails.jsp"> <forward name="fileview" path="/FileView.jsp"/> </action> <action path="/coesfileview" type="gbom.coes.assessment.clt.CoesFileViewAction" scope="request" input="/GeneralAssessmentDisplay.jsp"> <forward name="coesfileview" path="/FileView.jsp"/> <forward name="close" path="/FileMessage.jsp"/> </action> <action path="/editlinks" type="gbom.pbom.editlinks.clt.EditLinksAction" scope="session" name="editlinksform" input="/VariantDetails.jsp"> <forward name="editlinks" path="/VariantDetaislEditLinks.jsp"/> </action> <action path="/coeseditlinks" type="gbom.coes.assessment.clt.CoesEditLinksAction" scope="session" name="coeseditlinksForm" input="/AssessmentButtons.jsp"> <forward name="coeseditlinks" path="/CoesEditLinks.jsp"/> </action> <action path="/dmeditlinks" type="gbom.pbom.editlinks.clt.DeleteModifyEditLinksAction" scope="session" name="dmeditlinksform" input="/VariantDetails.jsp"> <forward name="dmeditlinks" path="/DeleteModifyEditLinks.jsp"/> </action> <action path="/coesdmeditlinks" type="gbom.coes.assessment.clt.CoesDMAction" scope="session" name="coesdeletemodifyEditLinksForm" input="/AssessButtons.jsp"> <forward name="coesdmeditlinks" path="/CoesDeleteModifyEditLinks.jsp"/> </action> <action path="/fileupload" type="gbom.assign.clt.FileUploadAction" scope="session" name="fileuploadform" input="/VariantDetails.jsp"> <forward name="fileupload" path="/FileUpload.jsp"/> </action> <action path="/coesfileupload" type="gbom.coes.assessment.clt.CoesFileUploadAction" scope="session" name="coesfileuploadform" input="/GeneralAssessmentDisplay.jsp"> <forward name="coesfileupload" path="/COESFileUpload.jsp"/> </action> <action path="/variantdetails" type="gbom.assign.clt.VariantDetailsAction" scope="session" name="variantdetailsform" input="/Index.jsp"> <forward name="variantdetails" path="/VariantDetails.jsp"/> <forward name="assign" path="/assign.do"/> <forward name="copydetails" path="/CopyVariantDetails.jsp"/> <forward name="copyvariantdetails" path="/variantdetails.do?copydetails=copy"/> </action> <action path="/modificationlist" type="gbom.assign.clt.ModificationListAction" input="/VariantDetails.jsp"> <forward name="modificationlist" path="/ModLevel.jsp"/> </action> <action path="/imperative" type="gbom.assign.clt.ImperativeDetailAction" scope="session" input="/VariantDetails.jsp"> <forward name="imperative" path="/ImperativesDetail.jsp"/> </action> <action path="/varianttreelist" type="com.gbomapp.coes.assessments.action.VariantListAction" name="VariantTreeListForm" scope="session"> <forward name="variantlist" path="/VariantTreeList.jsp"/> </action> <action path="/investreport" type="gbom.pbom.investreport.clt.InvestReportAction" scope="session" name="investreportform" input="/Index.jsp"> <forward name="investreport" path="/InvestReport.jsp"/> </action> <action path="/complexityreport" type="gbom.pbom.complexityreport.clt.ComplexityReportAction" scope="session" name="complexityreportform" input="/Index.jsp"> <forward name="complexityreport" path="/ComplexityList.jsp"/> </action> <action path="/variantreport" type="gbom.pbom.complexityreport.clt.VariantReportAction" scope="session" name="variantreportform" input="/ComplexityList.jsp"> <forward name="variantreport" path="/VariantPrintTemplate.jsp"/> </action> <action path="/imperativereport" type="gbom.pbom.imperativereport.clt.ImperativeReportAction" scope="session" name="imperativereportform" input="/Index.jsp"> <forward name="imperativereport" path="/ImperativeReport.jsp"/> </action> <action path="/keycompliancereport" type="gbom.pbom.keycompliancereport.clt.KeyComplianceReportAction" name="keycompliancereportform" scope="session" input="/Index.jsp"> <forward name="keycompliancereport" path="/KeyCompReport.jsp"/> </action> <action path="/downloadreport" type="gbom.pbom.downloadreport.clt.DownloadReportAction" name="downloadreportform" scope="session" input="/index.jsp"> <forward name="downloadreport" path="/DownloadReportTemp.jsp"/> <forward name="errorforcss" path="/errorCss.jsp"/> <forward name="errorforBufferOverflowDownload" path="/errorforBO.jsp"/> </action> <action path="/programbomreport" type="gbom.pbom.programbomreport.clt.ProgramBOMReportAction" name="programbomReportForm" scope="session" input="/index.jsp"> <forward name="programbomreport" path="/ProgramBOMReport.jsp"/> </action> <action path="/rpo" type="gbom.admin.rpo.clt.RPOAction" name="rpoForm" scope="session" input="/index.jsp"> <forward name="rpo" path="/RPOTemp.jsp"/> </action> <action path="/upload" type="gbom.admin.rpo.clt.UploadAction" name="uploadForm" scope="session" input="/index.jsp"> <forward name="display" path="/display.jsp"/> </action> <action path="/reusedeviation" type="gbom.admin.stdreuse.clt.StdDeviationAction" name="deviationForm" scope="session" input="/index.jsp"> <forward name="deviation" path="/StdReuseDeviationTemp.jsp"/> </action> <action path="/imperativemaint" type="gbom.admin.imperative.clt.ImperativeAction" name="imperativeForm" scope="session" input="/index.jsp"> <forward name="imperative" path="/ImperativeTemp.jsp"/> </action> <action path="/smt" type="gbom.admin.smt.clt.SMTAction" name="smtForm" scope="session" input="/index.jsp"> <forward name="smt" path="/SMTTemp.jsp"/> </action> <action path="/keyCompliance" type="gbom.admin.keycompliance.clt.KeyComplianceAction" name="keyComplianceForm" scope="session" input="/index.jsp"> <forward name="keyCompliance" path="/KeyComplianceAttrTemp.jsp"/> </action> <action path="/pcsreport" type="gbom.pbom.pcsreport.clt.PCSReportAction" name="pcsreportform" scope="session" input="/index.jsp"> <forward name="pcsreport" path="/PCSReportTemp.jsp"/> </action> <action path="/ppec" type="gbom.admin.ppec.clt.PPECAction" name="ppecForm" scope="session" input="/index.jsp"> <forward name="ppec" path="/PPECDirectorMaintTemp.jsp"/> </action> <action path="/pbomreport" type="gbom.pbom.programbomreport.clt.ProgramBOMReportAction" name="programbomReportForm" scope="session" input="/index.jsp"> <forward name="programbomreport" path="/ProgramBOMReport.jsp"/> </action> <action path="/sharedreport" type="gbom.pbom.sharedreport.clt.SharedReportAction" name="sharedReportForm" scope="session" input="/index.jsp"> <forward name="sharedreport" path="/SharedReport.jsp"/> </action> <action path="/reusereport" type="gbom.pbom.reusereport.clt.ReuseReportAction" name="reusereportform" scope="session" input="/index.jsp"> <forward name="reusereport" path="/ReuseReportTemplate.jsp"/> </action> <action path="/centremodelstatus" type="gbom.pbom.approve.clt.CentreModelStatusAction" name="approvenewform" scope="session" input="/index.jsp"> <forward name="centremodelstatus" path="/CentreModelStatus.jsp"/> </action> <action path="/vpifreeze" type="gbom.pbom.vpifreeze.clt.VpiFreezeAction" scope="session" name="vpifreezeform" input="/Index.jsp"> <forward name="vpifreeze" path="/VpiFreezeReport.jsp"/> </action> <action path="/approve" type="gbom.pbom.approve.clt.ApproveAction" scope="session" name="approvenewform" input="/Index.jsp"> <forward name="approve" path="/ApproveTempFrame.jsp"/> <forward name="approvedetail" path="/ApproveDetailTemp.jsp"/> </action> <action path="/copyarchmodelyr" type="gbom.pbom.copyarchitecturemodel.clt.CopyArcModelAction" name="copyarchmodelyrForm" scope="session" input="/index.jsp"> <forward name="copyarchmodelyr" path="/CopyArchitectureModelYear.jsp"/> <forward name="copymodel" path="/copy.do"/> </action> <action path="/modificationleveldef" type="gbom.coes.modificationlevel.clt.ModificationLevelAction" name="ModificationLevelMaint" scope="session" input="/index.jsp"> <forward name="modlevel" path="/ModLevelMaintTemplate.jsp"/> <forward name="errorPage" path="/NotEntitledError.jsp"/> </action> <action path="/modificationleveldesc" type="gbom.coes.modificationlevel.clt.ModificationLevelDescriptionAction" scope="session" input="/index.jsp"> <forward name="moddesc" path="/ModLeveDescription.jsp"/> </action> <action path="/pcs" type="gbom.admin.pcs.clt.PCSMaintAction" name="pcsmaintForm" scope="session" input="/index.jsp"> <forward name="pcsview" path="/PCSTemplate.jsp"/> <forward name="pcs" path="/PCS.jsp"/> </action> <action path="/model" type="gbom.admin.model.clt.ModelMaintAction" name="modelForm" scope="session" input="/index.jsp"> <forward name="modelview" path="/ModelTemp.jsp"/> <forward name="model" path="/Model.jsp"/> </action> <action path="/maintanance" type="gbom.coes.vppsmaintenance.clt.ListElementAction" name="AddElementInfo" scope="session" input="/index.jsp"> <forward name="elementlist" path="/ElementListTemplate.jsp"/> </action> <action path="/viewelementdetails" type="gbom.coes.vppsmaintenance.clt.ListElementAction" name="AddElementInfo" scope="session" input="/index.jsp"> <forward name="elementlist" path="/ElementListTemplate.jsp"/> </action> <action path="/pendingvppselementapproval" type="gbom.coes.vppsmaintenance.clt.VppsElementApprovalAction" name="ApproveVppsElementDetail" scope="session" input="/index.jsp"> <forward name="vppselementapprovelist" path="/VppsElementApprovalTemplate.jsp"/> </action> <action path="/pendingvppselementdetails" type="gbom.coes.vppsmaintenance.clt.VppsElementApprovalDetailAction" name="ApproveVppsElementDetail" scope="session" input="/index.jsp"> <forward name="vppselementapprovedetail" path="/PendingVppsElementTemplate.jsp"/> </action> <action path="/pendingvppselementreviewedapproval" type="gbom.coes.vppsmaintenance.clt.VppsElementReviewedApprovalAction" name="ApproveVppsElementDetail" scope="session" input="/index.jsp"> <forward name="vppselementreviewedapprovelist" path="/VppsReviewedElementApprovalTemplate.jsp"/> </action> <action path="/reconcile" type="gbom.coes.vppsmaintenance.clt.ReconcileAction" scope="session" input="/index.jsp"> <forward name="reconcile" path="/ReconciliationTemplate.jsp"/> </action> <action path="/modifynotify" type="gbom.coes.modificationlevel.clt.ModificationNotificationAction" name="modifynotifymodel" scope="session" input="/index.jsp"> <forward name="modificationnotification" path="/ModificationApprovalTemplate.jsp"/> </action> <action path="/modifytarget" type="gbom.coes.modificationlevel.clt.ModificationAction" name="modifymodel" scope="session" input="/index.jsp"> <forward name="modificationtarget" path="/welcometemplate.jsp"/> </action> <action path="/reconcilereport" type="gbom.coes.vppsmaintenance.clt.ReconcileReportAction" scope="session" input="/index.jsp"> <forward name="reconcile" path="/ReconciliationTemplate.jsp"/> <forward name="family" path="/ReconciliationReport-Family.jsp"/> <forward name="variant" path="/ReconciliationReport-Variant.jsp"/> </action> <action path="/rporesults" type="gbom.assign.clt.RPOResultsAction" name="rporesultsForm" scope="request"> <forward name="rpo" path="/rporesults.jsp"/> </action> <action path="/rowregionrecommendation" type="gbom.pbom.regionrecommendation.clt.RegionRecommendationAction" name="rowregionrecommendationform" scope="request"> <forward name="regionrecommendation" path="/RowRegionRecommendationReport.jsp"/> </action> <action path="/familyregionrecommendation" type="gbom.pbom.regionrecommendation.clt.RegionRecommendationAction" name="familyregionrecommendationform" scope="request"> <forward name="regionrecommendation" path="/FamilyRegionRecommendationReport.jsp"/> </action> <action path="/variantregionrecommendation" type="gbom.pbom.regionrecommendation.clt.RegionRecommendationAction" name="variantregionrecommendationform" scope="request"> <forward name="regionrecommendation" path="/VariantRegionRecommendationReport.jsp"/> </action> <action path="/displaymodleveldetails" type="com.gbomapp.coes.modlevel.action.PendingModLevelAction" name="pendingModLevel" scope="request" input="/index.jsp"> <forward name="modLevelDetails" path="/PendingModLevelDetailTemplate.jsp"/> </action> <action path="/VariantUsageBOMRowReport" type="gbom.pbom.VariantUsageBOMReport.clt.VariantUsageBOMReportAction" scope="session" name="variantUsageBOMRowReportform" input="/Index.jsp"> <forward name="variantBOMReport1" path="/VariantUsageBOMRow.jsp"/> </action> <action path="/VariantChangeReport" type="gbom.coes.variantChangeReport.clt.VariantChangeReportAction" scope="session" name="variantChangeReportForm" input="/Index.jsp"> <forward name="variantChangeReport" path="/Coesvariantactivityreport.jsp"/> <forward name="errorforBufferOverflow" path="/errorBufferOverflow.jsp"/> </action> <action path="/viewAssign" type="gbom.pbom.assign.clt.ViewAssignAction" name="viewVariantAssignForm"> <forward name="viewAssignPop" path="/view_assigned_page_frames.jsp"/> <forward name="viewAssignedData" path="/view_assigned_temp.jsp"/> </action> <action path="/filelinkmaint" type="gbom.coes.filelinkmaintenance.clt.FileLinkMaintenaceAction" name="fileLinkInfo" scope="session" input="/index.jsp"> <forward name="maintenacePage" path="/coesFileLinkMaintTemplate.jsp"/> <forward name="fileUpload" path="/coesNewFileUpload.jsp"/> <forward name="linkUpload" path="/coesNewLinkUpload.jsp"/> <forward name="editPage" path="/coesEditFileLinkTemplate.jsp"/> <forward name="viewPage" path="/ViewFile.jsp"/> </action> <action path="/editfilelinkmaint" type="gbom.coes.filelinkmaintenance.clt.FileLinkEditAction" name="fileLinkInfo" scope="session" input="/index.jsp"> <forward name="editPage" path="/coesEditFileLinkTemplate.jsp"/> <forward name="viewPage" path="/coesViewFileLink.jsp"/> <forward name="coesfileview" path="/FileView.jsp"/> <forward name="close" path="/FileMessage.jsp"/> </action> <action path="/viewfilelinkmaint" type="gbom.coes.filelinkmaintenance.clt.FileLinkEditAction" name="fileLinkInfo" scope="session" input="/index.jsp"> <forward name="viewPage" path="/coesViewFileLink.jsp"/> <forward name="coesfileview" path="/FileView.jsp"/> <forward name="close" path="/FileMessage.jsp"/> </action> <action path="/copyfilelinkmaint" type="gbom.coes.filelinkmaintenance.clt.CopyFileLinkAction" name="fileLinkInfo" scope="session" input="/index.jsp"> <forward name="copyPage" path="/coescopyFileLinkTemplate.jsp"/> <forward name="editPage" path="/coesEditFileLinkTemplate.jsp"/> </action> <action path="/variantDependMaint" type="gbom.admin.variantdependency.clt.VariantDependencyAction" name="variantDepForm" scope="session" input="/index.jsp"> <forward name="variantview" path="/VariantDependencyMaint.jsp"/> </action>'; $subst = "${name}, ${parameter}, ${path}, ${type}, ${scope}, ${validate}, ${input}, ${props}, ${forwards}"; $result = preg_replace($re, $subst, $str); echo "The result of the substitution is ".$result;

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php