what is regular expression

J

John Carson

MJ said:
Hi
I want to know what mean by regular expression in C++

Regular expression is not C++ specific.

A regular expression is simply a pattern for text, e.g., you might have two
letters, followed by a dash, followed by four digits.

Regular expressions are used for various types of text processing, e.g.,
search and replace or the validation of input (to make sure it is in the
correct format).

A library for processing regular expressions is here:

http://www.boost.org/libs/regex/doc/index.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,112
Latest member
VinayKumar Nevatia
Top