Hello, how to set up a REGEX to get 2 groups of all the href link
<a href="/page/page/categoria/page?page=2&publica=1" rel="next">2</a>
Where group 1 would be the entire link
/page/page/categoria/page?page=2&pu...
I have this code block:
xml = xml.Replace("<html>", "");
xml = xml.Replace("<head>", "");
xml = xml.Replace("</head>", "");
xml = xml.Replace("<body>", "<certidoes>");
xml...
I'm using the replace() method to highlight certain words in a sentence. The method replaces only the 1st occurrence of the target word by default.
I would like to know how perform arbitrary overrides . Ex: Replace the 2nd sentence of...
I have the following beginning of function sql that I will use for a procedures / function recreation system in C #
Create Function dbo.JN_FN_DataAtual(@TESTE INT)
And I created the regular expression
(?si)\bCREATE\s*\bFUNCTION?\s*(?&l...
I'm creating a feature for a system and I came across the need to manipulate URL parameters, so I would like to know how to delete a certain parameter from the URL?
Here's a clearer example:
http://site.com.br?c=cliente&a=editar&id=...
I have a script and in one of the lines:
return $flag.text().match(/[0-9 ]+(?=\%)/i);
read the numbers of a tag p .
Ex:
<p>Desconto 15%</p>
In case it will read the number 15.
From what I know this line does...
I have the following Regex
(?=.*\d)(?!.*\s)(?=.*[a-zA-Z\s]).{6,12}
If I do tests on site that test Regex, it works, in the Model annotation of the view to validate it works, but when I do in the regex.IsMatch(" qqq11") service it ret...
Hello.
I have a lot of HTML files that have links in the following format: http://localhost:8080/tag:alguma_coisa and I need to add the .html extension to these links so they look like this: http://localhost:8080/tag:alguma_c...
Would anyone have any validation for phone type field?
Where the user can not put fictitious numbers in the field as sequences of number (99999 8888 123456) or something of the type?