This has been one of the elephant in the room concepts for me that I never wanted to address. After reading this, I opened up IRB and began testing it out.
value = "Hey world 12345"
value.scan(/[0-3a-z]/).join
=> "eyworld123"
I'll stick to the long way of typing it out until it becomes second nature. I appreciate the detailed explanation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This has been one of the elephant in the room concepts for me that I never wanted to address. After reading this, I opened up IRB and began testing it out.
value = "Hey world 12345"
value.scan(/[0-3a-z]/).join
=> "eyworld123"
I'll stick to the long way of typing it out until it becomes second nature. I appreciate the detailed explanation.