Why is sending so few tanks to Ukraine considered significant? \\ is used for a literal back slash character. A regular expression (shortened as regex or regexp; [1] sometimes referred to as rational expression [2] [3]) is a sequence of characters that specifies a search pattern in text. quantifier matches the preceding element at least n times, where n is any integer but as few times as possible. It's the lazy counterpart of the greedy quantifier ?. Glad I found this topic BTW, because I didn't know either that something like lookahead ('?=' ) existed. for version number string, LWC issue with replacing first invalid character, Regex for Lightning Input in Aura Component, Looking to protect enchantment in Mono Black. Browse other questions tagged. How do I reference the input of an HTML