I have 2 patterns:
var a = /[^+][a-zA-Z]/;
var b = /[a-zA-Z][^+]/;
According to sources that I have read, what the a does, is to deny with ^ the character + , but you should not escape it ?, staying:
[^\+]
In add...
Good, I want to make a Pattern Regex to verify that in a chain there is the arroba character in the middle of two text strings in C #, the conventional:
[email protected].
if (Regex.IsMatch(email, "\@{1,1}")) {
//Codigo
}
In t...
I have sincerely tried with in_array , array_search and I could not do it. I have, for example, the following Array:
$arg = array(
"vimeo"=>array(
"link" => '/https?:\/\/[w\.]*vimeo\.[^\/]*\/([^?]*)/is'
),...
I need to eliminate banned words from a text, and also remove brackets (brackets) if they had them before or after.
This is the code I tried:
window.addEventListener("load", function() {
var palabrasProhibidas = ['mala','[mala]...
I was trying to extract the information from an html code, in particular what interests me is to focus on the content of this html tag:
<h2> <a href="https://www.xataka.com/robotica-e-ia/deepfakes-tendremos-problema-verdad-videos-serv...
I'm trying to find the number that is in the fourth position of a string of numbers separated by semicolons
The example string is as follows:
84;29.02964;28.87731;25.28935;0;-0.1523228;3.735915;27;27;349;27;27;413;27;27;371;26;26;373;26;26;...
I am starting to learn JavaScript and I had a doubt when validating a DNI.
The regular expression to check that it has 8 numbers and a letter of the alphabet does not work for me.
//Se pide el número completo del DNI (12345678X)
va...
Are regular expressions still not well implemented in the browser?
In which failure:
codepen
<form method="GET" name="formu" id="formu">
<p>
<input type="text" name="nombre" pattern="[A-Za-z]" required>
&l...
I need your help because I have a regular expression for all the blanks at the beginning and end of a word, but I have tried in several ways and I can not get the expected result, can you please guide me.
Word 1:
4. numero de identi...
Good day!
I have a regular expression to get only the part that interests me about a URL.
I have 2 types of URL
link
link
For now, I have achieved with this regexp ".*\/(.*\/.+)"
get: page/login?execution=s3p1
The issue i...