I would like to get the matched item in regex.

Comments

1 comment

  • Avatar
    BitRock support

    Hi Greg,

    Please accept our sincere apologies for the delay in our response.

    Could you try the following:

    <setInstallerVariableFromRegEx>
    <name>URLPrefix</name>
    <pattern>(^http:|https:\/\/).*</pattern>
    <substitution>\1</substitution>
    <text>${federatedServer}</text>
    </setInstallerVariableFromRegEx>

    Best regards,

    Michiel

Please sign in to leave a comment.