---
title: "Discussion on \"[Quicky] Easy Ruby regexp to split string\" | Hashnode"
description: "Discussion on \"[Quicky] Easy Ruby regexp to split string\". Are you good at regexp? I'm not and I found an extremely easy way to update a regexp to split a string in Ruby.\nInput\nabc,abc\nabc abc\nabc\n\nI just want to split on , , a space ... and a new line. Great\nI won't show you an horrible .split with a .map t..."
url: "https://hashnode.com/posts/quicky-easy-ruby-regexp-to-split-string/65efab543ba50da016c9653b"
---

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

Discussion

# [\[Quicky\] Easy Ruby regexp to split string](https://blog.brennetot.com/quicky-easy-ruby-regexp-to-split-string?utm_source=hashnode&utm_medium=feed)

Are you good at regexp? I'm not and I found an extremely easy way to update a regexp to split a string in Ruby. Input abc,abc abc abc abc I just want to split on , , a space ... and a new line. Great I won't show you an horrible .split with a .map t...

Mar 12, 2024 · 1 min read · blog.brennetot.com  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#regex](https://hashnode.com/tag/regex)
-   [#regexp](https://hashnode.com/tag/regexp)
-   [#regex-basics](https://hashnode.com/tag/regex-basics)

## Written by

[Thomas Brennetot](https://hashnode.com/@Damax)

@Damax · Tokyo, Japan

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

Rails excellence with innocence

10+ years most with Ruby on Rails and JavaScript frontend and some Go. My first language is C for 3 years in university.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
