I know it’s purpose but never heard of it before and the tutorials out
there are just teaching it the /regex/ way.
With regexes you can capture parts of a text/string.
I use this website to build my regex:
http://rubular.com/
It is very useful.
But where do you put the /regex/ in the code?
x = ‘abc def’
if x =~ /c d./
puts ‘hi there’
end
Try the above code in your irb.
Some basic examples would help.
See above.
Remember you can use special characters.
. means any one character.
Just look at rubular.com, it has the cheat sheeth on the bottom
left. Try to memorize that without having to look it up, to
train your brain. 
And also what are the rules here? I watched a video and it showed
an example like /\d{4}/-d{4}\ what are those slashes and why/where
is it needed?
\d means number
You can see this on rubular!
{4} means 4 iterations. It is the same as this:
\d{4}
\d\d\d\d
You see the first variant is shorter, and simpler to change too.
If there is a site that includes noob-friendly explanation please
post it or If you could just explain it. I’d appreciate it.
Yes.
Read there: http://www.regular-expressions.info/
You have to be a bit patient, it is hard to master a regex in one
day, so it is best to build up small examples by yourself and
systematically see what works and what does not work.
Let’s say I want to strip some sub-strings out of the string below
and save it in a new variable.
You can use .gsub() for that.
input = “My name is example, I’m 10 years old and my number is 10101010.”
Maybe I’m overestimating/misunderstanding regex?
You did not formulate your requirement.
What exactly do you want to capture in the above string please?
All is possible but you never said WHICH substring you wish to capture.
Capturing can be done by using () inside a // regex, and by using
numbers to it - first () used is $1, second () used is $2 and so forth.
If you don’t like the $1 or $1 you can use [] like [1] on the MatchData
object - but if this sounds confusing, please learn it all little by
little and read up on the MatchData object before.
Learn to walk before you run before you fly.
Or can you strip out the name/age/number and save them in
different variables?
You can do anything to any text. Use .gsub() to delete.
If you need something else than regex please post your own value
to input and show strip some data out of it.
First you should show what YOU wanted to strip out 
Anyway, I give an example with your string:
input = “My name is example, I’m 10 years old and my number is 10101010.”
We wish to replace 10 with 150 there.
input = “My name is example, I’m 10 years old and my number is 10101010.”
input.gsub!(/1\d /, '150 ')
input is now: “My name is example, I’m 150 years old and my number is
10101010.”
And yess also give me To-do’s and Not to-do’s when playing with
regular expressions if you have one.
There are no todos or no todos but you must read up on those special
characters and you must try it out on your own. Your brain will
quickly pick it up - but I see you also have not yet used .gsub ?
So you need to look those things up as well.
You need to start thinking in the ruby way - objects and methods as
operations on objects, via method() calls.