I have some texts that are in HTML, which may have specific style attributes, I would like to make a method that removes these tags and their contents, since they are titles ... and specific images that must be filtered from HTML. Below I have a...
Hello, I'm a beginner with angle 4, I'm trying to make a mask for a text field to validate a value in m².
The class Mask contains the method to create the mask, the value informed can be between 1 and unlimited.
I wanted the method to retu...
Using REGEX is it possible to "concatenate" masks to bring different parts of the same string?
How do I sweep a string and bring different parts of it?
I have a text field with the following information:
00200.035219 / 2012-15 (VOL...
I'm trying to put a flag -n to be able to show in the output the number of lines wanted by the user, having until now only managed to show the line number next to it
case "$1" in ## definir o pósprocessador
-r) pp="shuf" ;;...
Personal speech, I need some help
I'm trying to make a trigger in postgresql that checks if the format of a new data being inserted into a table is in a certain format, in this case the phone format.
I need the new phone to be inserted in...
I'm having trouble creating a regex, I'd like it to identify SP or sp or São paulo , then any other words and again check if it has, outro or Minas gerais (other states), in this sequence, example I already moun...
I need to validate an input field that can have the following formats:
'D-1' ou 'D-10' ou 'D-1_1' ou 'D-10_1' ou 'D-1A' ou 'D-10A'
Letters and numbers may vary, but will always have one of these formats.
I'm trying to rename files using regex in python, with only one default works:
def new_string(pattern):
text = pattern.group().lower()
renturn "{}_{}".format(text[0], text[1])
regex = re.compile(r"[a-z][A-Z]")
for x in files:
prin...
I've created a search method that receives text, and searches that text for a ObservableCollection previously filled in.
private void btn_Pesquisar_Click(object sender, RoutedEventArgs e)
{
ObservableCollection<object...