Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles  

 :) Latest Topic
 


  

 
Regex Whitespace Handling
Question Posted on 06 Apr 2020

Home >> Tutorial >> Regex >> Regex Whitespace Handling


Regex Whitespace Handling
Here in this regex we will handle the whitesapce to handle this whitespace we will use "\s" to handle this. And if whitespace is more then 1 then we will use "+" after "\s" and to hanlde "." single character we will use "\.". Now write regex for below 3 and skip the 4th one

(9)Excercise :- Handle Whitespace
Task    Text
Match    1.  abc
Match    2.    abc
Match    3.      abc
SKIP      4.abc
Website:- \d\.\s+abc
Website:- \d\.\s+abc





Other Important Questions
Regex Tutorial
Regex introduction 2nd step and matching Digits
Nested Groups
More Group Work
Conditional Regex







 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |