Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Regular expression generator

    Scheduled Pinned Locked Moved Development
    3 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      doktornotor Banned
      last edited by

      When you are just about to start pulling your hair out…

      https://txt2re.com/index-php.php3

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I also like: https://regex101.com/

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • N
          NOYB
          last edited by

          My favorite is: http://php.net/manual/en/pcre.pattern.php

          Along with:

          
          $regex_sub_pattern_x = "something_x";
          $regex_sub_pattern_y = "something_y";
          $regex_sub_pattern_z = "something_z";
          
          $regex_pattern = $sub_pattern_x . $sub_pattern_y . $sub_pattern_z;
          
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.