What regular expression do I use to get the comma character that is not within the "..." fields, eg:
line1, "line2", "hello,world", 215, X + Y
^ ^ ^ ^
I want to get only the referrals, I'm using the expres...
In certain part of my application written in Laravel I have this query:
$counts = User::select(\DB::raw('count(*) as status_count, status'))
->groupBy('status')
->get();
It returns me at least 1...
I'm doing a doing a crawler style method that takes a string list, makes a call to a website, inserts the return into another list, and returns.
My method is working, but it is very slow so I want to parallelize the calls.
I searched for...
How to apply scrollbar (scrollbar) only to element tbody , thus leaving element caption and thead fixed in table, without moving when scrollbar moves. >
Below is the HTML and CSS of the table:
bo...
I have to solve the following exercise but I have some doubts:
Create a class that only has a power method, which receives 2 numbers and calculates the number 1 to the number 2.
This process should contain an exception if any of the...
Well, I'm trying to validate CPF with regular expressions only.
I have already been able to validate the format ... 000.000.000-10
^([0-9]){3}\.([0-9]){3}\.([0-9]){3}-([0-9]){2}$
Now, is there a way to validate if the CPF is valid in relati...
Hello,
I have a string map for string:
Map<String,String> myMap = new Map<String,String>();
with a series of values
myMap.put("1","valor1");
myMap.put("2","valor2");
myMap.put("3","valor3");
I would like to know what is...
Hello, I would like to know what is the correct way to do relationship between classes of 1..N and 1 ... 1. Example:
public class Pedido
{
public int PedidoID{get;set;}
.............
}
public class ItemPedido
{
public int ItemPedi...
I need to return a field that is of type bool :
public List<TB_USUARIO> ListarTodos()
{
var strQuery = "select * from tb_usuario";
using (contexto = new Contexto())
{
var retornoDataRead...