Input string:
S{WCS-STD}bUsr | S{logan}bUid | S{%24contact_person_id%24}sCmd | S{}sId | A{}sNme | S{}sUrl | S{}sLbl | S{}sCok | S{}mMsg | S{test}fAct | S{}fTyp | S{}fKey | S{}fVal | S{}bUserType | S{CUST}transType | S{}mTsp | S{2017-12-19 18:54:49}mDeptId | S{999}bPvtMsg | S{0}bToPvt | S{null}mOffRecord | S{null}entityName | S{null}}|
String to identify:
S{test}fAct (the value between the brackets is alphanumeric)
Question How can I extract the string listed above with a Regex expression? I am a novice with regex and need help creating the correct expression.
I have tried the following but am unable to only select the S{}fAct attribute:
\| S{.+}fAct \|
Example: https://regex101.com/r/uefLBA/1