String Utilities ٹول اپ ڈیٹ کیا گیا 2 دن قبل

Markdown Extract Bold Text

Pull every bold phrase out of a Markdown document. The tool finds text wrapped in double asterisks or double underscores, skips inline code and fenced code blocks, and returns the matches as a JSON array in document order. It runs in your browser, with live counters, a sample, and copy or download options.

ہمیشہ مفت استعمال میں آسان فوری نتائج نجی اور محفوظ

استعمال کریں Markdown Extract Bold Text

ان پٹ لائنز
0
ملنے والی اشیاء
0
کوڈ بلاکس چھوڑ دیے گئے
0
مدد شدہ فارمیٹس
بولڈ ٹیکسٹ کو لپیٹے ہوئے تلاش کریں **double asterisks** یا __double underscores__. صاف نکالنے کے لیے ان لائن کوڈ اور گھیرے ہوئے کوڈ بلاکس کو نظر انداز کیا جاتا ہے۔

ان پٹ مارک ڈاؤن

اسکین کرنے کے لیے مارک ڈاؤن مواد پیسٹ کریں
مثال: This is **important** and __useful__.

نکالا گیا نتیجہ

بولڈ ٹیکسٹ کے میچز کی JSON اری
ٹول لنک
کلپ بورڈ پر کاپی ہو گیا۔
اس ٹول کو بہتر بنانے میں مدد کریں

مواد پڑھیں

سیکھیں کہ یہ آلہ کیسے کام کرتا ہے اور اسے کب استعمال کرنا ہے۔

Collect every bold phrase from a Markdown document

Writers bold the words that matter: key terms, warnings, product names, decisions, deadlines. In a long Markdown file those highlights are scattered across dozens of paragraphs. The Markdown Extract Bold Text tool gathers them into one list. Paste your Markdown, press Extract, and you get a JSON array of every phrase wrapped in double asterisks or double underscores, in the order they appear.

The result is a fast way to see what a document emphasises without rereading it, and a handy starting point for glossaries, summaries, flashcards and style checks.

What the tool recognises

Two bold syntaxes are supported, matching the "Supported formats" note on the page:

  • **double asterisks**
  • __double underscores__

The text between the markers must not start or end with a space. ** loose ** is not counted, which mirrors how Markdown renderers treat it. Leading and trailing whitespace is trimmed from each match, and empty matches are skipped.

Two places are skipped on purpose, so code samples do not pollute the list:

  • Fenced code blocks opened with ``` or ~~~. Everything until the closing fence is ignored.
  • Inline code between single backticks, such as `"**not extracted**"`.

The built-in sample, loaded with Load sample, demonstrates all of this: it contains bold text in normal paragraphs, bold markers inside inline code, and bold markers inside a JavaScript code block. Only the three genuine bold phrases come out.

A worked example

Given this Markdown:

The **deadline** is Friday. Use __staging__ first.
Run `echo "**hi**"` to test.

The output is:

["deadline", "staging"]

Duplicates are kept. If "deadline" is bold three times, it appears three times, which tells you how often a term is emphasised. Remove duplicates in your own script or spreadsheet if you need a unique list.

Step-by-step instructions

  1. Paste your document into the Input Markdown editor, or press Paste to read from the clipboard. Not sure what to try? Press Load sample.
  2. Watch the three counters at the top update as you type: Input lines, Found items and Code blocks skipped. Found items is a live preview of how many bold phrases will be extracted.
  3. Press Extract, either in the header or under the editor.
  4. Review the JSON array in Extracted Output.
  5. Use Copy to put the array on your clipboard, Download to save it as markdown-bold-text.json, or Select to highlight the whole output for manual copying.
  6. Press Clear to empty both the input and the output.

Reading the three counters

The counters at the top of the page update on every keystroke, before you press Extract, so they double as a quick diagnostic.

  • Input lines counts every line in the editor, including blank ones. It confirms that a long paste arrived in full.
  • Found items runs the same scan the Extract button uses and shows how many bold phrases it would return. If it reads zero on a document you know has bold text, the markers are probably padded with spaces or split across lines.
  • Code blocks skipped counts the fenced blocks that were ignored. If this number is higher than you expect, an unclosed fence may be hiding the rest of the document from the scan, because everything after an opening fence is treated as code until a closing fence appears.

Private by design

Scanning happens in your browser with JavaScript. The Markdown you paste is not sent to this site's server, so you can safely run internal notes, meeting minutes or unpublished drafts through it. There is no server-side size limit.

Ideas for using the output

Build a glossary or index

Many style guides bold a term the first time it is defined. Extracting bold text from a manual gives you a ready-made list of defined terms to turn into a glossary.

Make study cards

Lecture notes written in Markdown often bold the key concepts. The array can be imported into a flashcard app or a spreadsheet as the front of each card.

Pull action items from meeting notes

If your team bolds owners, decisions or dates, one extraction produces the list of things that need follow-up.

Check emphasis in a draft

Editors often warn against bolding too much. A long list of bold phrases in a short article is a sign that nothing stands out any more. Seeing the list in one place makes that obvious.

Feed other tools

Because the output is valid JSON, it plugs straight into scripts, keyword research sheets or prompts for a language model that should focus on the highlighted points.

Tips for better results

  • Keep bold phrases on a single line. The scan works line by line, so a phrase whose closing markers sit on the next line is not matched.
  • Use one bold style consistently in your own writing. Both are supported, but consistency makes the source easier to maintain.
  • If the Found items counter shows zero while you can see bold text, check for spaces just inside the markers.
  • Compare Found items with the length of the JSON array after extraction. They use the same scan, so they should match.

Turning the array into something else

The JSON array is deliberately simple: a list of strings in quotes, separated by commas. Most spreadsheet apps can split it into rows after you remove the square brackets, and any programming language can read it with its standard JSON parser. If you just need a plain list to paste into a document, copy the output and delete the brackets, quotes and commas with a find-and-replace.

What not to expect

  • Single-marker emphasis, *italic* or _italic_, is not extracted. This tool is only about bold.
  • HTML bold tags such as <strong> or <b> are not detected.
  • Inner Markdown is not cleaned. A bold link like **[Docs](https://example.com)** comes out as the raw text [Docs](https://example.com), and bold italic written with three asterisks keeps one asterisk on each side.
  • Bold text inside a fenced code block or inline code is always skipped, even if you wanted it.

Limitations

  • Matching is per line; multi-line bold spans are missed.
  • No de-duplication, sorting or counting per phrase; the array lists matches in document order.
  • Only JSON output is offered. There is no CSV or plain-list export, though the JSON is simple to convert.
  • Indented code blocks without fences are scanned like normal text, so bold markers inside them can be picked up.

Related tools

Headings are the other main signal of structure in a document; the Markdown Heading Extractor lists them with levels and anchor slugs. To pull out the code samples this tool skips, use the Markdown Code Block Extractor.

Frequently Asked Questions

اکثر پوچھے جانے والے سوالات

صارفین کے ان سوالات کے مختصر جوابات جو وہ نتیجے پر بھروسہ کرنے سے پہلے پوچھتے ہیں۔

Text wrapped in double asterisks, like **this**, and text wrapped in double underscores, like __this__. HTML strong and b tags are not detected.

Fenced code blocks and inline code are skipped on purpose so that sample code does not appear in the results. The Code blocks skipped counter shows how many fenced blocks were ignored.

No. Every match is listed in the order it appears, so a phrase bolded three times appears three times.

No. The scan works one line at a time, so the opening and closing markers must be on the same line.

No. Extraction runs in your browser and the text is not uploaded to this site's server.

Download saves a JSON array of strings as markdown-bold-text.json.

Text such as ** word ** is not treated as bold because it starts and ends with a space. Remove the spaces next to the markers and extract again.

تبصرے (0)

صارفین کے تبادلہ خیال، غیر معمولی صورتوں، اور مزید رہنمائی کے لیے نکات۔
تبصرہ کریں
آپ کا تبصرہ جمع کروانے کے بعد عوامی طور پر ظاہر ہوگا۔
ابھی تک کوئی تبصرہ نہیں۔ پہلا تبصرہ کریں!
ہمیں بتائیں!
اس ٹول کے ساتھ کسی مسئلے کی رپورٹ کریں

براہ کرم آپ کو درپیش مسئلے کی وضاحت کریں تاکہ ہم اس کی تحقیقات کر سکیں اور ٹول کو بہتر بنا سکیں۔

سب سے زیادہ مدد کیا کرتا ہے
ان پٹ، متوقع نتیجہ، حقیقی نتیجہ، براؤزر/ڈیوائس، اور جب مددگار ہو تو اسکرین شاٹ شامل کریں۔
اسکرین شاٹ بٹن براؤزر میں موجود صفحے کی تصویر لیتا ہے اور اس فارم کے ساتھ پیدا شدہ تصویر منسلک کرتا ہے۔
پورے صفحے کا اسکرین شاٹ
آپ کے براؤزر میں newisty کے ساتھ محفوظ کیا گیا۔
ابھی تک کوئی اسکرین شاٹ نہیں لیا گیا۔
اوزار رپورٹ