lni
10th August 2010, 03:51
Hi,
I have a string with format like:
str1 .str2 str3_with_possible_white_space : str4_with_possible_white_space | str5
where
(1) str1 must exist
(2) after str1, any or all patterns may be missing.
How do I use QRegExp to strip out the elements?
Thanks!
I have a string with format like:
str1 .str2 str3_with_possible_white_space : str4_with_possible_white_space | str5
where
(1) str1 must exist
(2) after str1, any or all patterns may be missing.
How do I use QRegExp to strip out the elements?
Thanks!