Search results for regular expression



Answer: The simplest way is to add prototype to string object and use regular expression inside prototype function as following: String.prototype.g ...
Answer:   This can be easily done with regular expression: test = Regex.Replace(test, @"s{2,}", " ");   ...
Question:  What pattern would following RegEx match: (#?([A-Fa-f0-9]){3}(([A-Fa-f0-9]){3})?) Answer: This should be easy for the web developers. ...
Task: Explain what does function below does. Give an example, how would you use it. public static string TestQuestion(string date) { return Re ...
Question: Given a line of text, write a regular expression to strip all the HTML tags from it? Answer: public static string CleanHTML(string htmlPag ...
Write a regular expression which matches a email address Answer: This is very tricky question. Matching emails is not as trivial as it seems and th ...
While validating 'Date format' .

[Source: JAGAN MOHAN "Interview questions bible"]

We can suppress the regular expression of a window by replacing the regexp_label property with label property. [Source: JAGAN MOHAN "Interview quest ...