Get the App
SLTechnology News&Howtos  ›  Development  › 

What is a C # replacement?

Shulou Source: shulou.com Published: 2022-06-01 01:52:26 10月04日 Update

Most people do not understand the knowledge points of this article "what is C# replacement", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can gain something after reading this article. Let's take a look at this "what is C# replacement" article.

Replace

Substitution is the regular expression used in the replacement pattern.

The following table lists the characters used for replacement:

Character description pattern replacement pattern input string result string $number replaces substrings that match by group number. \ b (\ w +) (\ s) (\ w +)\ Back3 $2 $1 "one two"two one" ${name} replace the substring that matches by the named group name. \ b (?

< word1>

\ w +) (\ s) (?

< word2>

\ w +)\ b$ {word2} ${word1} "one two"two one" $$replace the character "$". \ b (\ d +)\ s?USD$$$1 "103 USD"$103" $& replace a copy of the entire match. (\ $* (\ d* (\. +\ d+)) {1}) * * $& "$1.30" * * $1.30 * "$`replaces all text of the input string before matching. Substitute $`"AABBCC"AAAACC" $'replaces all the text of the matched input string. Replace the last captured group with "AABBCC"AACCCC" $+. B+ (C +) $+ "AABBCCDD" AACCDD$_ replaces the entire input string. Blog _ "AABBCC" and "AAAABBCCCC" above are the contents of this article on "what is C# replacement". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Tags: Characters strings content input clocking patterns text articles knowledge articles values copies most that is more regularities steps knowledge points results industries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MySQL Huawei Shulou Tech Info Microsoft