Matching Full Words | REGEX DEMYSTIFIED

preview_player
Показать описание
In the previous video of this series we learned how to use ranges and quantifiers. Let's now apply this knowledge and learn how to build a pattern to match an entire word using these constructs!

----------

----------

See you in the videos!
Рекомендации по теме
Комментарии
Автор

Very usefull sir Max, now I finally can say that I've learned about RegEx whit your tutorials. Thank you very much, regards from Mexico :-)

alexisarcegomez
Автор

sir you are awesome please keep om making such videos on Regex.I want to know more about this regular expression

PhoenixRisingFromAshes
Автор

i need help
if i have

<p class="firstParagraph">The night is long...</p>
and i want to make this
<p class="firstParagraph"><span night is long...</p>

how to select left and right side of the T, and add <span></span> around it?

Leverquin
Автор

Hi Max, can we expect any udemy series this week?

hiteshchoudhary
Автор

URGENT PLEASE: how can i do to add a word and a slash like this (/hi) to a found regex? i need this "/hi" before this regex \b\w{5, 5}\b . if someone puts a name with 5 characters in it it must find that 5 characters name witch it does but it has also to add /hi infront of it as a result when it finds it

appleship
Автор

This doesn't match a full word; just the letters.
How would you match a word?
So in your example how would you match djsfl?

TJKeets
Автор

What can be the regular expression for " loss of pay"
It should match only if the search string has loss of pay only, not something like "today you are under loss of pay"

In This line it shldnt be matched becoz only "loss of pay" is not der, there are other words

Can anyone pls suggest any solution

shivarajkalmani