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.
What are your code smells and/or best practices with regular expressions?

What are your code smells and/or best practices with regular expressions?

18
Comments 24
1 min read
Learn Regular Expressions using Atom

Learn Regular Expressions using Atom

20
Comments 2
2 min read
Remove all console.log()s using Regex in Atom

Remove all console.log()s using Regex in Atom

10
Comments 20
1 min read
The beauty of VerbalExpressions

The beauty of VerbalExpressions

87
Comments 18
1 min read
Java REGEX based scanner

Java REGEX based scanner

6
Comments
2 min read
How To Build A RegEx

How To Build A RegEx

18
Comments 1
5 min read
My favourite computer science text (OR "how regex works")

My favourite computer science text (OR "how regex works")

3
Comments 2
2 min read
Getting started with Regex

Getting started with Regex

10
Comments 1
2 min read
Tutorial: Building a Slack Bot that Writes Custom Queries against your Database

Tutorial: Building a Slack Bot that Writes Custom Queries against your Database

6
Comments
3 min read
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
loading...