2.3 Character Classes: Character Range, “Any of”, and Wild Cards - RX
1 hour 37 minutes
Welcome back to the several introduction course heretics. Today we will continue where we left off,
blessing three that any Lockhart's the nuts and character ranges.
So in our prior listen, we went over not character specifically more than not white space. But in this course on this lesson, we'll go over to any both the any characters. A mewling, which is more like a wild card. But unlike other software, this is particularly
one character That's unknown, right?
Unless you add again the quanta fires
and we also go for any characters like this is more like or statement right this or this or this.
And also any character between N g rug, which is the character range now
poster with digits this concept a little bit easier to learn with numbers, right? So if you do digits right, you will attack anything. But what if I only want to detect them? If it's within one and three in this case,
you put it like this didn't one and three
and you know I got it seems pretty easy and let whatever is within 17
for in seven
for nine. Egan already kind of figure out how
how this is going right now. You gotta be careful.
Because, for example,
this is not attend. This is at 10
So you're gonna be really, really careful what you write in there.
you are submission earlier
here. You can do any off. So if I, for example, right 123 right. This is not
detect 123. This means that took either one or two or three.
And the Sync concert that applies for numbers applies for letters. So even write a B. C.
You can see this separated by a little The little box rained a little wet speed in the box. Or I could do a Z J right? You can see the orders, not that important. I do like to put them in order, but it's not really required.
And again, like in numbers, I can basically do Let's go from eight
h, he could detect O's are gonna say all these goats room, uh, K disease, for example, in the text does
where I can do
see, et cetera. I can do it like right again. Like I said manually, right? Whatever.
Want x dot For
right now I'm wondering.
You understand this already. You understand this arranged. You understand if I read them without the range. So what exactly is the dot for
again dot It's a lot of cards. If I write, just stopped.
detects everything. Just that you can see. It's detective ad, which is simple, and it is also additional box again. You want to actually find a thought. You had to escape the character
like it's saying here, escape special character.
If you see carefully, you will see you again. Those those little white lines between the Capture Group again.
That is because it's individual detections, so the same that apply to slash w and slash D In regards for many characters, we want to see also apply to any characters right from the skiff. If I do,
I want to see either one or more men. Here are one sergeant
one or more. You can see now when you want more, it becomes a solid block.
Or I could do
same thing. Now
The reason This even though it's the first in the list, I didn't go over. It's because you can see it's really hard to see the quantify resistance hero more. One more, and it's because
there's nothing before or after what card. So if I write email
right now, you can see with that with the
so you're or more you can detect the evil itself, right?
Let me, actually.
Right this somewhat out. A number
in regardless. If s zero digits, one digit or multiple digits.
Now, if I do it with a plus,
you can see that it detects that
One or more.
all right. If I do this here or we won't hear or one now you can see it. It it detects up to here.
Now you go like Oh,
but why is it detective at again? It's not a number. It's a character. So it's detecting either to your or one characters.
And the problem is that you don't give enough information. So guess what? Actually,
half too right
of this to be able to properly see.
But the Symbolist or the character, right?
So, like again to hear
one period, it takes only one digit, right?
If I'd go again
the plus not into Texas, there's
anything between right
that means changed his toe a letter. So you can see.
It doesn't matter what it is. It could be a symbol. It can be a percentage, for example, right? He will still find it.
And if I do, for example,
let's hear one
one or more.
And you're like, OK, I understand that. And how would I use this? Well,
let's say you have an employer. Airtran investigate an employee and is called John,
Yes, right at work dot com. Right.
whenever you know that John Smith, for example, is very common name,
that's what they say, right?
You don't know if it's John Smith. John Smit one John Smith to judgment three or four
or if it even John Smith 12. So, in this case, since you don't know the precise email that it arrived from, you just know it's sort of half J. John s in it.
You will start using this so you can capture the e mails off all the John Smits on the gigantic company you officially just work for, and therefore do a proper investigation or do a proper search on what exactly was sent. And that's how you use that special character. Remember special characters. When you use them,
you have to have something afterwards.
Otherwise it will detect
and everything. You've worked. For example, right global at
yahoo dot com.
Sorry, it's not gullible. It's eat. No,
you see now it doesn't detect it. Why? Because it is not hot milk.
However, if I come back here and say hot no,
they need it automatically. The Texas.
If I do remove that aspect, right,
I'll leave it up to add
you see now, Detective. So it is really important, too.
Put those extra parameters. Otherwise, you might accidentally
detect additional information that might not be required.
to be detected
again. If you're using that special character, make sure you break it Our next lesson. We will learn how to determine the exact length of characters you want to repeat in. More than one occasion does include digits, words, spaces and symbols. See you soon