How to make regex non greedy || Regex matches only once || Lazy regex

How to make regex non greedy || Regex matches only once || Lazy regex

Learn A Logic

5 лет назад

2,709 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Saikiran Pinnamshetty
Saikiran Pinnamshetty - 02.02.2019 23:01

keep up your good work pal,
### i believe, we can also use "*" quantifier instead 0f "+" ########

Ответить
Amit Kumar
Amit Kumar - 17.11.2021 10:51

Thanks, informative, requesting to Please create more video of pattern matching for different use-cases

Ответить
TechGalaxy
TechGalaxy - 28.06.2021 20:34

Gud tutorial bro. Liked it..

Ответить
Rakesh Nair
Rakesh Nair - 24.06.2020 20:33

Hi, if I have a string like this....

Test sentence one
Test sentence two


From: X
Sample text
Sample text


Final text
End!!!

How to write a regex which selects all the text from :- " From: " till end of the whole text? (I.e. till End!!!) Please note that there are multiple line breaks in between.

Ответить
Praneetha 848
Praneetha 848 - 02.02.2019 17:04

Can you add.... configuration files concept...it helps a lot ...to us

Ответить