---
title: "Discussion on \"REGEX - It's a Piece of Cake!\" | Hashnode"
description: "Discussion on \"REGEX - It's a Piece of Cake!\". Hello everyone!!💝\nAre you confused with the title😅? Do you also stay away from regular expressions? Do you use google while solving regex problems? Not after reading this article!😋\nC'mon, let's learn it together.🤗\nCONTENTS\n\nWhy Regular Expression..."
url: "https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [REGEX - It's a Piece of Cake!](https://laasyasettyblog.hashnode.dev/regex-its-a-piece-of-cake?utm_source=hashnode&utm_medium=feed)

Hello everyone!!💝 Are you confused with the title😅? Do you also stay away from regular expressions? Do you use google while solving regex problems? Not after reading this article!😋 C'mon, let's learn it together.🤗 CONTENTS Why Regular Expression...

Sep 25, 2020 · 3 min read · laasyasettyblog.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#programming](https://hashnode.com/tag/programming)
-   [#regex](https://hashnode.com/tag/regex)
-   [#coding](https://hashnode.com/tag/coding)
-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

@Laasya\_Setty · India

  
[View profile](https://hashnode.com/@Laasya_Setty)

Java Developer | Machine Learning| Tech Blogger

I am a Java developer and Machine learning enthusiast.

## Responses 6

Markdown supported · ⌘↵ to post

[Your DevOps Guy](https://hashnode.com/@CodingLanguages)

[Oct 12, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f84b47894b1323900e0db36)

For more advanced use cases, the Java classes I have mostly worked with are in [docs.oracle.com/javase/7/docs/api/java/util/regex…](https://hashnode.com/posts/regex-its-a-piece-of-cake/java.util.regex).

Nice and straightforward intro to regex, [Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)!

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Oct 13, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f84b47894b1323900e0db36#reply-5f852a5a94b1323900e0ddaa)

Thank you!😊

[Robert Beutner](https://hashnode.com/@GeoRab)

[Oct 1, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f75f49db7a1d82bf9b34cc8)

Fantastic resource! I am teaching a little about this right now and this is the perfect resource.

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Oct 13, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f75f49db7a1d82bf9b34cc8#reply-5f852a736ad92638db4944ec)

Glad this helped you😊😊

[Maxi Contieri](https://hashnode.com/@mcsee)

[Sep 26, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6facc00ba48d6624c91adf)

Nice Article !

Reminds me of a funny quote

"One day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?"

\-Larry Wall

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Oct 13, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6facc00ba48d6624c91adf#reply-5f852add94b1323900e0ddc2)

hehe thank you😋

[Sébastien Portebois](https://hashnode.com/@sportebois)

[Sep 26, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6f414860599c596c472f2e)

👏

Other useful tools: [regex101.com](https://regex101.com/) After many years of using tools (I love regexes!), I settled down on this one (rather than others) for a few reasons:

-   easy support of whitespace (when you have to deal with more than just spaces)
-   support various languages. Not all regexes are exactly the same
-   code generation. Ease the process to escape things
-   built-in tests support!

[regexplained.co.uk](http://www.regexplained.co.uk/) which builds a railroad diagram of the regex pattern you give it. Makes it easy to review/read/understand a new pattern.... as they grow they can become hard to read easily, this helps a lot!

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Sep 26, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6f414860599c596c472f2e#reply-5f6f55ec60599c596c4730d1)

Loved to see people coming and sharing helpful resources😍🤩. Thanks, for sharing.

[Saul Blanco Tejero](https://hashnode.com/@elGolpista)

[Sep 25, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6e230f60599c596c4725b6)

Why do you use a character set in this example?

```
String[] str=s.split("[\\s]+");
```

I mean, it is unnecessary in this case...

Anyway, I love to see people sharing the regex power :)

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Sep 25, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6e230f60599c596c4725b6#reply-5f6e2de2ade1fb598d439803)

Yup Saul, I agree. I added so people who don't know and who are new to regex can also easily understand.😊 Thanks for feedback🤗

[Denny Trebbin](https://hashnode.com/@nerdalytics)

[Sep 25, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6e20f2ade1fb598d4396ff)

A good run down and easy to read :-)

I add some links I find useful:

Cheat Sheet

-   [Regex cheatsheet](https://remram44.github.io/regex-cheatsheet/regex.html)

A vast collection of solutions

-   [Regex DB](https://rgxdb.com/)

Generate RegExes from input data

-   [http://regex.inginf.units.it](http://regex.inginf.units.it/)

Online Editors

-   [Online regex tester and debugger](https://regex101.com/)
-   [Regexper](https://regexper.com/) (My personal favorite <3)
-   [RegExr: Learn, Nuild. & Test Regex](https://regexr.com/)

Visualize RegExes

-   [Regulex: JavaScript Regular Expression Visualizer](https://jex.im/regulex/)

[Saul Blanco Tejero](https://hashnode.com/@elGolpista)

[Sep 25, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6e20f2ade1fb598d4396ff#reply-5f6e23a360599c596c4725c3)

Nice :D

Other useful tool here:

[Regex Visualizer: For know how regex works](https://blog.robertelder.org/regular-expression-visualizer)

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Sep 25, 2020](https://hashnode.com/posts/regex-its-a-piece-of-cake/5f6df5ddade1fb598d4394b5/comment/5f6e20f2ade1fb598d4396ff#reply-5f6e2e51ade1fb598d439809)

Wow!! I don't know some of these. Thanks for sharing.😊 [Denny Trebbin](https://hashnode.com/@fibric) [Saul Blanco Tejero](https://hashnode.com/@elGolpista)
