Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Norling 1 post 21 karma points
    1 week ago
    Mikael Norling
    0

    Heartcore: Custom regex validation on Umbraco.TextArea

    I have this regex that matches 0 or more rows of key/value pairs: https://regexr.com/870pr

    However, I’m not succeeding in getting the correct behavior for the validation on the textarea in the backoffice. I have tried these syntaxes (and probably more) but none seem to work:

    ((\w|\d)+::.+\n?)*
    /((\w|\d)+::.+\n?)*/
    /^(\w|\d)+::.+\n*$/gm
    

    I have also failed in finding any documentation for custom validations in the Heartcore backoffice.

    Can anyone point me in the right direction?

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft