DEV Community

webdeasy.de
webdeasy.de

Posted on • Edited on

3 1

What are you using RegEx for?

Hey there!
Yesterday I wrote a blog article about RegEx and that RegEx is the secret weapon of a programmer! There I show how to create a regular expression to validate the password strength.

RegEx Example

I use RegEx for validation user data (phone numbers, emails and co) and highlighting search results.

Now my question is, what do you use RegEx for? Let's start a discussion! :)

Top comments (3)

Collapse
 
emanuelvintila profile image
Emanuel Vintila

I used regular expressions along with reflection to implement an MVC router, matching URLs against a table of routes, instantiating a controller and calling the appropriate method with the correct arguments.

Collapse
 
krthr profile image
Wilson Tovar

I use RegEx to format a text taken from Wikipedia that will be read by TTS.

I delete the [1], [2], ... and parentheses.

Collapse
 
webdeasy profile image
webdeasy.de

Good idea!

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay