regex101 | cross platform | Regex library

 by   nedrysoft JavaScript Version: 1.0 License: No License

kandi X-RAY | regex101 Summary

kandi X-RAY | regex101 Summary

regex101 is a JavaScript library typically used in Utilities, Regex applications. regex101 has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

This project is a desktop version of the site. It embeds a copy of the site inside the application so that no internet connection is required to work on regular expressions. The motivation behind this was that when developing regular expressions for use in products, I often find myself opening the website again and again, resulting in many tabs in various states swamped in the sea of web pages.

            kandi-support Support

              regex101 has a low active ecosystem.
              It has 101 star(s) with 24 fork(s). There are 7 watchers for this library.
              It had no major release in the last 12 months.
              There are 3 open issues and 1 have been closed. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of regex101 is 1.0

            kandi-Quality Quality

              regex101 has no bugs reported.

            kandi-Security Security

              regex101 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              regex101 does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              regex101 releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of regex101
            Get all kandi verified functions for this library.

            regex101 Key Features

            No Key Features are available at this moment for regex101.

            regex101 Examples and Code Snippets

            No Code Snippets are available at this moment for regex101.

            Community Discussions


            Preg_match is "ignoring" a capture group delimiter
            Asked 2021-Jun-15 at 17:46

            We have thousands of structured filenames stored in our database, and unfortunately many hundreds have been manually altered to names that do not follow our naming convention. Using regex, I'm trying to match the correct file names in order to identify all the misnamed ones. The files are all relative to a meeting agenda, and use the date, meeting type, Agenda Item#, and description in the name.

            Our naming convention is yyyymmdd_aa[_bbb]_ccccc.pdf where:

            • yyyymmdd is a date (and may optionally use underscores such as yyyy_mm_dd)
            • aa is a 2-3 character Meeting Type code
            • bbb is an optional Agenda Item
            • ccccc is a freeform variable length description of the file (alphanumeric only)

            Example filenames:



            Answered 2021-Jun-15 at 17:46

            The optional identifier ? is for the last thing, either a characters or group. So the expression ([a-z0-9]{1,3})_? makes the underscore optional, but not the preceding group. The solution is to move the underscore into the parenthesis.



            Kotlin regular expression has no match
            Asked 2021-Jun-15 at 15:32

            I am practicing regular expressions in Kotlin and trying to start with a simple string. However, I am not receiving any matches. I feel like I am doing it right and can't figure out the problem.

            Test String: VERSION_ID="12.2"

            And what would I do this for multiple lines:



            Answered 2021-Jun-15 at 04:10

            The version ID value inside your string appears to be surrounded with double quotes. Also, I suggest making the decimal portion optional, in case some versions might not have a minor version component:



            What is python regex for removing all text in a column?
            Asked 2021-Jun-14 at 04:53

            I am trying to clean a column:



            Answered 2021-Jun-14 at 04:29

            I tried this regex, it worked.



            RegEx matching on episode titles with different resolution suffixes
            Asked 2021-Jun-13 at 18:00

            I'm trying to capture the show name, episode number, episode title, and resolution if present. Standard def episodes in my collection don't have a resolution suffix.

            For the given samples:



            Answered 2021-Jun-13 at 16:21


            Looking for help to construct a Regex for pattern matching
            Asked 2021-Jun-11 at 11:16

            I'm looking for help in making a regex to match and not match a series of name patterns if anyone can help with that.

            Here's a list of cases I want to match/ not match :



            Answered 2021-Jun-11 at 11:16

            I think you're looking for something like this:



            Regex match a line if it contains a specific word
            Asked 2021-Jun-10 at 20:39

            I have a long xml text and I want to match each product that is available. The text is made of products that are structured like this:



            Answered 2021-Jun-10 at 20:39

            Use an XML parser. If there is none you can use use



            Larger Regex Javascript for Date and time close to keywords, part for days missing first digit
            Asked 2021-Jun-10 at 09:45

            This is my regex:

            (audiência|sessão virtual)(?:.(?!audiência|sessão virtual|até))*([1-2][0-9]|3[0-1]|0?[1-9])\s*de\s*([^\s]+)\s*de\s*((19|20)?\d\d)(?:,|\s*)*(?:,|\s*)*(?:\S*)?(?:,|\s*)*([01]?[0-9]|2[0-3])(h|:|\s*horas*\s*e\s*|\s*horas*\s*)([0-5]?[0-9])?

            It should pick something like this:

            Lorem Ipsum Lorem Ipsum Lorem Ipsum Audiência em 24 de Julho de 2022 às 16:00 horas Lorem Ipsum Lorem Ipsum Lorem Ipsum

            And extract the "24 de Julho de 2022 às 16:00 horas"

            its taking only the "4 de Julho de 2022 às 16:00 horas" missing the first digit for some reason.

            The problem is, "9 de Janeiro de 2021" (with no leading zeroes or any other numbers) is also a possible input and answer.

            I asked this question a few days ago and got the answer that the logic for the date bit of my regex is working (but only when taken out of the larger expression) "([1-2][0-9]|3[0-1]|0?[1-9])", I've tried changing positions, different combinations, to make the zero fixed and add another or ([1-2][0-9]|3[0-1]|0[1-9]|[1-9]), none of them worked.

            So why does it "Eat" the first day digit, when its inside the full expression?

            A demo of it is running as said on with the config set to ECMAScript (JavaScript) and global multiline and case insensitive.

            As they questioned me where this is being used, this bit regex was taken from a workflow that has a text parser "Module" that accept regex with those configurations, I can only feed it a regex, no different programing languages allowed.

            See the current regex 101 demo.



            Answered 2021-Jun-09 at 20:40


            Regex to check for different ordering?
            Asked 2021-Jun-09 at 18:25

            I'm trying to write out a regex that checks that the following has been written:



            Answered 2021-Jun-09 at 18:25

            If we want to create a regular expression that matches a string comprised of the substrings

            Doe Ray Me Far Sew La Tea

            in any order, and we don't want to tediously create a very long expression including every possible ordering, we may begin by trying


            which matches a string containing the seven substrings in any order.

            We then have the problem that the expression does not fail to match if one or more substrings is repeated or missing.

            One way to ensure each substring appears only once is to add a negative lookahead to each alternative to ensure it doesn't appear in the string again ahead of the match.


            Note that only the first letter of the substring is required in the lookahead because the first letter of each substring is different.

            In your particular case, the following seems to work fine although it hasn't been thoroughly tested.

            The final trailing comma is made optional by (,|(?=\s*\})), which ensures that if there isn't a comma then there must be a '}' ahead in the string after optional whitespace.

            You may not want to make the semicolon optional as done here.

            You may also want to split a long regular expression into multiple lines.



            Regex do not capture group in JavaScript
            Asked 2021-Jun-09 at 17:10

            I wrote regular expression



            Answered 2021-Jun-09 at 17:02

            You're just calling .next() once, so you only get the first match. You need to loop over all the results of .matchAll().



            regex - pattern partially matching but not entirely by skipping pattern
            Asked 2021-Jun-09 at 11:49

            I have a block of html code in a file. I have a class that I'm using called highlight-address to locate the text in a very large html file. I'm looking for all text in between the >City, St zip< It finds all 4 occurrences in the file but for some reason I'm not sure why it returns only 2 of the desired values. It seems to ignore the desired regex and moves to something past it.

            REGEX: highlight-address[\S\s]?>(.)



            Answered 2021-Jun-09 at 11:49

            It might be a better option to use BeautifulSoup, and afterwards remove the newlines preceded by an optional equals sign.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install regex101

            Binary distributions can be found under the assets on the github releases page.
            Windows. The application is supplied as an installer executable, download and run the installer to install the application, this will create a shortcut which can be used to launch the software.
            macOS. The application is supplied as a dmg disk image. Download and open the disk image and drag the Regular Expressions 101 icon into the Applications folder, the application can then be launched by double clicking on the Regular Expressions 101 icon in Applications.
            Linux. The application is supplied as an AppImage. Download the application and then from the terminal run the command: chmod +x <downloaded filename>


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone nedrysoft/regex101

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Regex Libraries


            by rupa


            by VerbalExpressions


            by gskinner


            by pillarjs

            Try Top Libraries by nedrysoft


            by nedrysoftC++


            by nedrysoftC++


            by nedrysoftC++


            by nedrysoftC++


            by nedrysoftJavaScript