Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to find whole line that contains word with php regular expressions?

user-image
Question added by Zaid Rabab'a , Technical Team Lead , ESKADENIA Software
Date Posted: 2013/09/18
Muktar SayedSaleh
by Muktar SayedSaleh , Software Engineering Manager , AIRASIA

 

the regular expression should be like that :

 

^.*Mukhtar.*$

 

sure you need to add php \\b to the begining and end of regular expression.

 

best regards

Louy Alakkad
by Louy Alakkad , Front End Developer , Alpha Apps

((\n|^)search(\n|$))

$1 will be your line

Taha Akram Taha Mutawe
by Taha Akram Taha Mutawe , كاتب مدخل بيانات , ديوان الخدمة المدنية

اتمنى ان اتعمل هذه البرمجيات قريبا واكثر من تعلم كل شيء في الحاسوب مع انني متمرس ومتمكن منه

 

More Questions Like This