Tags » Regex

Regex - Part 2

(Level: Beginner)

In the first regex post, we discussed the concept of regular expressions, some of their applications, and made a small program to extract years from a text. 1,322 more words



(Level: Beginner)

“Constantly talking isn’t necessarily communicating.” – Charlie Kaufman

So far, we have covered the basics of regular expressions and tokenization. It must be evident by now how simple, yet fundamental these concepts are.

1,612 more words

Only numbers in a WPF textbox with regular expressions

Managing the input in your project is very important. In this post, you can see how create a numeric field in WPF, using the regular expressions. 65 more words


REGEXP_SUBSTR extract everything after specific character

One of the frequently asked questions about REGEXP in Oracle SQL are like “How to extract string after specific character?”. Let’s look at the following simple example: 82 more words



Satu lagi perintah di linux yang saya suka, namanya grep, singkatan dari Global Regular Expression Print (atau Parser). Perintah ini sangat berguna untuk menampilkan kata tertentu dalam sebuah file, atau menyaring tampilan dari perintah lain. 704 more words


À Does Not Equal À, A Unicode Story

I apologize for the delay to my monthly postings. January was a busy month and I needed a break to focus on work and home. 1,109 more words


Uppercase and Lowercase with RegEx

Check if a string’s first letter is lowercase (^ checks beginning of input):

function hasLowerCase(str) {
    return (/^/.test(str));

Check if a string’s first letter is uppercase: 22 more words