The World’s Largest Online Community for Developers
Newest 'regex' Questions - LavOzs.Com
Questions tagged [regex]
Regular expressions provide a declarative language to match patterns within strings. They are commonly used for string validation, parsing, and transformation. Since regular expressions are not fully standardized, all questions with this tag should also include a tag specifying the applicable programming language or tool. NOTE: Asking for HTML, JSON, etc. regexes tends to be met with negative reactions. If there is a parser for it, use that instead.
I have the following code which works fine with one value i.e. excel. The code below highlight or mark the keyword "excel" in a textarea with the highlightWithinTextarea jquery plugin.
var skills = /...
I need to replace:
string input = "%someAlphabets%.ZIP"
string replaceWith = "Hello"
string result = "Hello.ZIP"
I tried with Regex.Replace(inputString,"[%][A-Za-z][%]", replacedWith); but it is not ...
I would like to share regular expressions with you. Which I wrote. Expressions are far from ideal and are suitable for beginners to test / find data. If you have more interesting ...