DEV Community

Regular Expressions

A regular expression (shortened as regex or regexp also referred to as regular expression) is a sequence of characters that specifies a search pattern.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Finding Null or Empty String Checks in Java

Finding Null or Empty String Checks in Java

8
Comments 2
2 min read
Intro to peg.js

Intro to peg.js

6
Comments 3
5 min read
(Don't Fear) The Regex: A Practical Introduction to Regular Expressions

(Don't Fear) The Regex: A Practical Introduction to Regular Expressions

56
Comments 6
8 min read
Javascript: When Less is More

Javascript: When Less is More

33
Comments 1
4 min read
Don't Be Afraid of Regular Expressions

Don't Be Afraid of Regular Expressions

5
Comments 2
6 min read
Using Regex to Prevent User-Error during E-commerce Site-Content Turnovers

Using Regex to Prevent User-Error during E-commerce Site-Content Turnovers

6
Comments
2 min read
TIL: Unicode chars in regex

TIL: Unicode chars in regex

17
Comments
1 min read
Day 2: Java Validation

Day 2: Java Validation

9
Comments
2 min read
Basic RegExp in JS

Basic RegExp in JS

8
Comments 1
2 min read
Why I Default to The Old Ways

Why I Default to The Old Ways

7
Comments 4
2 min read
Removing Short Imports in NativeScript, the Easy Way (with VS Code)

Removing Short Imports in NativeScript, the Easy Way (with VS Code)

7
Comments
4 min read
Laravel enforcing strict passwords with Regex

Laravel enforcing strict passwords with Regex

4
Comments
1 min read
I ain't afraid of no regex

I ain't afraid of no regex

5
Comments 2
3 min read
RegEx Necessities Part 1

RegEx Necessities Part 1

6
Comments
5 min read
Cool Regex performance hack for "not preceded with"

Cool Regex performance hack for "not preceded with"

7
Comments
3 min read
FileSearching With Python

FileSearching With Python

7
Comments
1 min read
Form Validation, You're Doing it Wrong, Part Two

Form Validation, You're Doing it Wrong, Part Two

11
Comments
2 min read
Learning regex with doggos

Learning regex with doggos

5
Comments
5 min read
Learning to Love RegEx: a Find and Replace example

Learning to Love RegEx: a Find and Replace example

9
Comments
2 min read
Regular expressions Tutorial For Linux

Regular expressions Tutorial For Linux

9
Comments
1 min read
RegEx match all words with a prefix

RegEx match all words with a prefix

3
Comments
1 min read
Replace anchor tags with square bracket format

Replace anchor tags with square bracket format

4
Comments
1 min read
Remove params from URL in JavaScript

Remove params from URL in JavaScript

4
Comments
1 min read
Check for valid url with JavaScript + RegEx

Check for valid url with JavaScript + RegEx

4
Comments
2 min read
Regex split by spaces except inside quote marks

Regex split by spaces except inside quote marks

2
Comments
1 min read
loading...