I have implemented with the JS, want to know if we can implement using the policies
Solved! Go to Solution.
@Amar N ,
Yes, It's possible. It does support substring extraction from a string. For more details reger policy documentation here.
For Example, below pattern will extract substring from queryparam. If queryparam value is "DBN001" then code extracted will be 001.
<QueryParam name="code"> <Pattern ignoreCase="true">DBN{dbncode}</Pattern> </QueryParam>
Keep us posted if you have any queries.
Yes it is possible only when the sub string is varying and the main string except supstring is constant.