Select Page
How to match last character(s) using regex

How to match last character(s) using regex

Intro Sometimes we are interested in the way something ends, whether it’s a single word or an entire line. Regex offer quite a convenient way of achieving this, so let’s look at a few examples and learn how 🙂 Regex to match the last character of...
How to match last character(s) using regex

How to match currencies using regex

Match currencies If looking at/through receipts or invoices is annoying for you, but it’s frequently a part of your routine, regex can help tremendously by highlighting/extracting the most important stuff, figures.Let’s show some examples, shall we? For...
How to match last character(s) using regex

How to match everything between using regex

Match everything between two words  Quite often we are trying to find if there is something (specific) or anything between a certain strings/words/characters. Let’s use a simple shopping list as an example: “Fruits to buy: apples, bananas, kiwis,...
How to match last character(s) using regex

How to match everything after using regex

Everything after the word There is often a case when we need to match a certain text/string, but with regards to its appearance, like before or after some other string/word/pattern. We can target the word we want to use as a position reference, and match everything...
How to find strings that contain regex

How to find strings that contain regex

Introduction A regular expression, also shortened as regex and regexp, is a type of searching pattern inside a text/code editor that supports it, which allows for a deep level of text manipulation. A regular expression can not only search for a given string, but can...