Regular Expressions 101

Save & Manage Regex

  • Current Version: 1
  • Save & Share
  • Community Library

Flavor

  • PCRE2 (PHP)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java
  • .NET 7.0 (C#)
  • Rust
  • PCRE (Legacy)
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests
Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Character class intersection
    [\w&&[^\d]]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression
Processing...

Test String

Substitution
Processing...

Code Generator

Generated Code

const regex = /\[([^\]]+)\]\(([^)]+(.md))\)/gmi; // Alternative syntax using RegExp constructor // const regex = new RegExp('\\[([^\\]]+)\\]\\(([^)]+(.md))\\)', 'gmi') const str = `--- cover: https://res.cloudinary.com/dimaslanjaka/image/fetch/https://www.forbesindia.com/media/images/2020/Sep/img_143399_backlinks900x600.jpg date: 2022-03-25T00:00:00+07:00 subtitle: High Pagerank Dofollow Directory List tags: - SEO - Blogging title: High Pagerank Dofollow Directory List updated: 2022-04-09T15:37:49+0000 uuid: 2bbd77ce-1bda-4888-8da3-b9f6763917bc category: - Uncategorized comments: true wordcount: 679 excerpt: High Pagerank Dofollow Directory List description: High Pagerank Dofollow Directory List url: https://www.webmanajemen.com/2022/03/25/high-pagerank-dofollow-directory-list.html permalink: /2022/03/25/high-pagerank-dofollow-directory-list.html lang: en thumbnail: https://res.cloudinary.com/dimaslanjaka/image/fetch/https://www.forbesindia.com/media/images/2020/Sep/img_143399_backlinks900x600.jpg photos: - https://res.cloudinary.com/dimaslanjaka/image/fetch/https://www.forbesindia.com/media/images/2020/Sep/img_143399_backlinks900x600.jpg type: post --- **If I get a new one, I will always update the list. For now and also for the future, I suggest making between dofollow backlinks and nofollow backlinks that lead to a balanced blog, or still in a very reasonable category**, if you don't want your blog to get Google Penalty sanctions later. Because it will be quite difficult to improve the ranking of blogs that have been subject to these sanctions. Therefore, from now on, it is better to get used to commenting naturally, on **dofollow** or **nofollow** blogs. Then be diligent with routine to submit articles to [**dofollow blog directory.** ](list-of-latest-dofollow-blogs.html) That's my post cal* *In the following I try to share some lists of the most essential blog directories that have been proven to provide significant traffic and linkbacks.** All [**dofollow blog directory lists**](list-of-latest-dofollow-blogs.md) it has a high pagerank. Each directory has a different registration method. Some of them require you to provide a reciprocal link from your blog, but some don't. **The important thing that you have to pay attention to is the way the process is done so that there are no errors when you register in each of these directories.** Pay attention to the writing of **anchor text** and also **categories**, **keywords**, * *meta tags**, **description**, and other things that may be important for you to fill in when registering. In addition, you should prepare from the beginning all the data that will be needed, at least it can save time making it easier for you during the registration process later. ![Directory Dofollow](https://3.bp.blogspot.com/-6veBHLXbOls/Ua5SXmU1WEI/AAAAAAAAAtA/bLFjLW3SnBY/s1600/Directory+Dofollow.jpg "Directory Dofollow") **Your attempt to register your blog to this directory is one way to build link building so that [get free backlinks](http://google.com/search?q=site:webmanajemen.com+Free+google+Backlinks) , whose purpose is to improve optimization** SEO **and [blog traffic](http://google.com/search?q=site:webmanajemen.com+Increasing+blog+traffic)**. Why do you have to do that, because blogs that have been registered in various directories can have the opportunity to get traffic or visitors from the directory in question. I hope this is useful and can help. | **Blog Directory** | **Page Rank** | **Blog Directory** | **Page Rank** | --- | --- | --- | --- | | 1\\. technorati.com | 8 | 20\\. www.bloggerlist.net | 4 | | 2\\. www.bloggernity.com | 7 | 21\\. www.blogtoplist.com | 4 | | 3\\. bloggers.com | 6 | 22\\. www.fuelmyblog.com | 4 | | 4\\. www.bloghub.com | 6 | 23\\. www.sgblog.com | 4 | | 5\\. dir.blogflux.com | 6 | 24\\. www.5starblogs.com | 4 | | 6\\. www.globeofblogs.com | 6 | 25\\. www.weblog-index.com | 4 | | 7\\. www.bloggapedia.com | 6 | 26\\. www.blogoriffic.com | 4 | | 8\\. www.blogarama.com | 6 | 27\\. www.blogpoint.com | 4 | | 9\\. www.blogcatalog.com | 6 | 28\\. www.bloggertalk.net | 4 | | 10\\. www.bloglisting.net | 5 | 29\\. www.eblogzilla.com | 4 | | 11\\. www.bloggingfusion.com | 5 | 30\\. www.myblogdirectory.net | 4 | | 12\\. www.bloggeries.com | 5 | 31\\. www.blogelites.com | 4 | | 13\\. www.topblogarea.com | 5 | 32\\. www.mybloggingarea.com | 3 | | 14\\. www.myblog2u.com | 5 | 33\\. www.aveblogs.com | 3 | | 15\\. www.getblogs.com | 5 | 34\\. www.goblogz.com | 3 | | 16\\. www.bloggernow.com | 5 | 35\\. www.blogshowoff.com | 3 | | 17\\. www.blogs-collection.com | 5 | 36\\. www.blog-search.com | 3 | | 18\\. www.topbloglists.com | 5 | 37\\. blogvillage.gotop100.com | 3 | | 19\\. www.lsblogs.com | 5 | 38\\. www.search4blogs.com | 3 | Please regularly and diligently register every time you create a new article to the several dlog directories above. That's my post on this occasion. Hopefully these blogging tips are useful and can help you, especially for beginners who want higher **traffic** or visitors to your blog. `; const subst = `.html`; // The substituted value will be contained in the result variable const result = str.replace(regex, subst); console.log('Substitution result: ', result);

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for JavaScript, please visit: https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions