Computer Science, asked by Moonlight568, 4 days ago

What are regular expression? How are they useful?​

Answers

Answered by shashank9035
4

Explanation:

Regular expressions are useful in search and replace operations. The typical use case is to look for a sub-string that matches a pattern and replace it with something else. Most APIs using regular expressions allow you to reference capture groups from the search pattern in the replacement string.

i think this will be the answer....

please make me brain list and don't report me please

Answered by guptaridhima280
2

Answer:

A regular expression is a sequence of characters that specifies a search pattern. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation.

It useful in search and replace operations. The typical use case is to look for a sub-string that matches a pattern and replace it with something else. Most APIs using regular expressions allow you to reference capture groups from the search pattern in the replacement string.

Hope you like this

pls mark me as a brainliest answer

Similar questions