᠎᠎᠎          
51K

Item unwrapper

World's simplest list tool

This is a super simple browser-based application that unwraps list items from arbitrary text around them. You can paste any list as an input, set a separator for its items, and then specify the text to remove from the left and right sides of all items. You can also use the multilevel unwrap option, remove empty items, and trim items. Created by list geeks from team Browserling.
Announcement Check out our new project!
We just launched a new site – Online GIF Tools – a collection of utilities for quickly editing GIFs. Check it out!
Separation of Items
Enter a character to separate the list items in the box below.
Enter a regular expression to separate items in the box below.
Separation character or regular expression.
Unwrapping Strings
Unwrap this text from the left.
Unwrap this text from the right.
Repeat unwrapping the items until items become clean.
Joining of Items
Set the symbol to connect the output items.
Remove spaces around items after unwrapping.
Remove empty items from the list.
Item unwrapper tool What is a item unwrapper?
This online tool removes arbitrary text from the left and right side of each item in a list. This operation is called unwrapping a list item and a clean unwrapped list item is called a pure item. For example, if all the items of a list are wrapped in parentheses, such as "(short item)", then you can quickly remove both parentheses and extract just the "short item". Similarly, if there's an article before each word "an item", or there is an ellipsis at the end of each word "item…", you can get a pure item by removing the wrapping characters from the beginning or end of the item. Moreover, you can delete several different prefixes/suffixes at once. For example, if some of the list items are preceded by the article "a" and other items are preceded by the article "an", you can remove both of these prefixes at once (the same applies to suffixes). In the options of this program, you can set the left string (called a prefix) and the right string (called a suffix) and the unwrapping algorithm will quickly run through all the items of the list and remove the specified wrapper strings. To remove multiple different prefixes/suffixes, simply enter them one per line. If a string appears before an item (or after an item) twice or thrice, use the "Multilevel Unwrapping" option. This option will recursively call the unwrapping algorithm to get rid of all nested wrappers. Also, you can quickly remove spaces surrounding the items and get rid of empty items. To make this utility unwrap the items in any list, you need to load the list in the input area and indicate which separator is used between the items. It can be either a single character or a short separator string that can be set in the options, or it can be multiple different characters or different strings that can be matched using a regular expression. In the output list, you can also set a new separator that can be a single character or an arbitrary string. Listabulous!
Item unwrapper examples Click to use
Unwrap Ordinal Numbers
In this example, we unwrap a list of ordinal numbers. On the left side we delete the article "the" and on the right side we delete the word "number". After unwrapping, we trim the items. The input and output lists both use a newline separator.
the first number the second number the third number the fourth number the fifth number the sixth number the seventh number the eighth number the ninth number the tenth number the eleventh number the twelfth number
first second third fourth fifth sixth seventh eighth ninth tenth eleventh twelfth
Required options
These options will be used automatically if you select this example.
Enter a character to separate the list items in the box below.
Separation character or regular expression.
Unwrap this text from the left.
Unwrap this text from the right.
Repeat unwrapping the items until items become clean.
Set the symbol to connect the output items.
Remove spaces around items after unwrapping.
Remove empty items from the list.
Unwrap a List on the Right Side
In this example, we only remove the postfix part of a list (also known as the suffix part). The postfix part is any text on the right side of the list items. First, we split the input data by the tab and newline characters by using a regular expression "/[\t\n]+/". Next, we remove the "Cake" postfix from each list item and get a list with only the names of the cakes. Finally, we change the list item separator to a dot in the output.
Coffee Cake Banana Cake Funfetti Cake Lemon Cake Black Forest Cake Vanilla Cake Red Velvet Cake Chocolate Cake
Coffee. Banana. Funfetti. Lemon. Black Forest. Vanilla. Red Velvet. Chocolate
Required options
These options will be used automatically if you select this example.
Enter a regular expression to separate items in the box below.
Separation character or regular expression.
Unwrap this text from the left.
Unwrap this text from the right.
Repeat unwrapping the items until items become clean.
Set the symbol to connect the output items.
Remove spaces around items after unwrapping.
Remove empty items from the list.
Remove Bullets from a List
In this example, we remove the bullets from a list of layers of the Earth's atmosphere. We delimit the items by the newline character, get rid of empty items, and enter the bullet "▪ " in the prefix option. As there are sometimes two consequent bullet symbols in front of several items, we activate the deep unwrapping option. As a result, all bullets, including repeated ones are removed, and we get a list without any bullets that we then display in a vertical column.
▪ troposphere ▪ stratosphere ▪ ▪ mesosphere ▪ thermosphere ▪ ▪ exosphere
troposphere stratosphere mesosphere thermosphere exosphere
Required options
These options will be used automatically if you select this example.
Enter a character to separate the list items in the box below.
Separation character or regular expression.
Unwrap this text from the left.
Unwrap this text from the right.
Repeat unwrapping the items until items become clean.
Set the symbol to connect the output items.
Remove spaces around items after unwrapping.
Remove empty items from the list.
Remove Titles from a List
In this example, we want to remove honorifics from a wedding guest list. We load a vertical list of invited guests as input and separate the items with a newline character. We remove four different prefixes from the list "Mr", "Mrs", "Miss", and "Ms", which we enter one per line in the prefix option. We also trim the output names and display the guest list separated by commas.
Mr Lewis Mrs Lane Miss Lopez Ms Strait Mr William Mr Elijah Miss Esme Ms Sophia Mrs Evie Ms Millie Mr Lucas
Lewis, Lane, Lopez, Strait, William, Elijah, Esme, Sophia, Evie, Millie, Lucas
Required options
These options will be used automatically if you select this example.
Enter a character to separate the list items in the box below.
Separation character or regular expression.
Unwrap this text from the left.
Unwrap this text from the right.
Repeat unwrapping the items until items become clean.
Set the symbol to connect the output items.
Remove spaces around items after unwrapping.
Remove empty items from the list.
Remove Time Periods
In this list, someone mistakenly added the time indicators "a.m.", "p.m." to 24-hour clock times. To remove these unnecessary suffixes, we split the items by a newline and enter both indicators in the suffix removal option. We also normalize blank lines in the list by removing the empty ones and display the clock times in a column.
02:42:30 a.m. 17:57:56 p.m. 23:56:19 p.m. 12:44:15 p.m. 17:44:08 p.m. 01:06:24 a.m. 10:40:31 a.m. 04:25:01 a.m. 22:38:56 p.m. 09:05:36 a.m.
02:42:30 17:57:56 23:56:19 12:44:15 17:44:08 01:06:24 10:40:31 04:25:01 22:38:56 09:05:36
Required options
These options will be used automatically if you select this example.
Enter a character to separate the list items in the box below.
Separation character or regular expression.
Unwrap this text from the left.
Unwrap this text from the right.
Repeat unwrapping the items until items become clean.
Set the symbol to connect the output items.
Remove spaces around items after unwrapping.
Remove empty items from the list.
Pro tips Master online list tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinelisttools.com/unwrap-items-from-text?input=the%20first%20number%0Athe%20%20second%20number%0Athe%20third%20%20number%0Athe%20fourth%20%20number%0Athe%20fifth%20number%0Athe%20%20sixth%20number%0Athe%20seventh%20%20%20number%0Athe%20%20eighth%20number%0Athe%20ninth%20%20%20number%0Athe%20tenth%20%20number%0Athe%20eleventh%20number%0Athe%20%20twelfth%20%20number&string-separator=true&input-separator=%5Cn&join-character=%5Cn&prefix=the&suffix=number&trim-items=true&skip-empty=false&recursive=false
All list tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly print all distinct items of a list.
Quickly print all repeating items of a list.
Quickly count the number of items in a list.
Quickly find certain items in a list.
Quickly print all list items in reverse order.
Quickly sort list items alphabetically or numerically.
Quickly shuffle list items and make it random.
Quickly randomly pick one or more items from a list.
Quickly create a downloadable image from a list.
Quickly display list items in multiple colors.
Quickly set a new delimiter for items in a list.
Quickly remove the symbol that separates list items.
Quickly change list item delimiters to the same symbol.
Quickly remove items from the beginning or end of a list.
Quickly join all items of a list together.
Quickly create groups of multiple list items.
Quickly extract a part of a list.
Quickly remove all empty items from a list.
Quickly remove whitespace characters around list items.
Quickly create multiple copies of a list.
Quickly rotate list items to the left or right (or up and down).
Quickly enumerate list items and add a counter to them.
Quickly add bullet markers to all items in a list.
Quickly wrap all list items in quotes.
Quickly remove all quotation marks from around list items.
Quickly add text on the left and right sides of all list items.
Quickly remove text from the left and right sides of all list items.
Quickly prepend a prefix before each list item.
Quickly delete any prefix from the beginning of all list items.
Quickly append a suffix after each list item.
Quickly delete any suffix from the end of all list items.
Quickly add or remove list items to make it a certain length.
Quickly create multiple columns from a single list.
Quickly create a palindromic list from the given list.
Quickly generate a list of arbitrary length with arbitrary items.
Quickly generate a random length list with random items.
Quickly add new items at the beginning or end of a list.
Quickly left-pad a list with one or more items.
Quickly right-pad a list with one or more items.
Quickly analyze a list and print its item statistics.
Coming soon These list tools are on the way
Edit a List
View and edit lists in a neat browser-based list editor.
Split a List
Split list items into chunks.
Generate the Powerlist
Create the powerlist of the given list.
Find the Car of a List
Extract the first item from a list.
Find the Cdr of a List
Extract all items except the first of a list.
Apply a Function on a List
Run a JavaScript function on every list item.
Delete List Item
Quickly remove certain items from a list.
Find Certain List Items
Quickly find and print items that interest you in a list.
Find Non-repeating List Items
Quickly find and print items that don't repeat in a list.
Find Repeating List Items
Quickly find and print items that repeat in a list.
Delete Repeating List Items
Quickly find and remove items that repeat in a list.
Delete Unique List Items
Quickly find and remove items that are unique in a list.
Extract a Sublist from a List
Given start and stop indexes, extract a sublist from a list.
Shift List Items
Shift list items to the left or right (or up and down).
Indent List Items
Add indentation to all list items.
Mirror a List
Quickly create a mirror copy of a list.
Invert a List
Invert the order of items in a list (last becomes first, etc).
Reduce a List
Run the reduce function on a list.
Convert a List to Rows
Create multiple rows from a single list.
Convert a List to Excel
Create an Excel file from a list.
Convert a List to PDF
Create a PDF file from a list.
Convert a Text List to a LaTeX List
Create a LaTeX list from a regular text list.
Convert a Text List to a HTML List
Create a HTML list from a regular text list.
Convert a Text List to a Markdown List
Create a Markdown list from a regular text list.
Compare Two Lists
Find the difference between two lists.
Compare Three Lists
Find the difference between three lists.
Remove One List from Another
Remove elements from a list that appear in the other list.
Zip Two Lists
Join two lists together item by item.
Merge Two Lists
Append a second list at the end of the first list.
Pair List Items
Create pairs from all list items.
Pop List Items
Remove list items at certain index positions.
Push List Items
Add new items at the end of a list.
Replace List Items
Replace certain items in a list with new items.
Splice a List
Modify a list in-place by adding, replacing, or removing items.
Flatten a List
Remove all indentation levels from a list and make it flat.
Make List Items Title Case
Quickly change the letter case of all items to title case.
Make List Items Proper Case
Quickly change the letter case of all items to proper case.
Make List Items Random Case
Quickly randomly change the letter case of all items.
Make List Items Lowercase
Quickly change the letter case of all items to small letters.
Make List Items Uppercase
Quickly change the letter case of all items to capital letters.
Remove List Item Bullets
Quickly remove any bullet marks before items in a list.
Remove List Item Counter
Quickly remove any numeration from a list of items.
Create the Empty List
Generate a list with no items.
Visualize a List
Quickly create a graphical representation of a list.
Create a List Cloud
Create an image with a cloud of list items.
Let Zalgo Destroy a List
Let Zalgo loose on a list and create list-chaos.