Answer:
This can be easily done with regular expression:
test = Regex.Replace(test, @"s{2,}", " ");
...
Search results for regular expression
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. ...
Given a line of text, write a regular expression to strip all the HTML tags from it?
Posted by CMaster
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"]
[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 ...
« previous1 next »
