Candidate Information

Name

Harshana
Dissanayaka

Email

dmehdissanayaka@gmail.com

Mobile

+94715157416

date of Birth

June 8, 1994

Are you willing to move to Muscat - Oman?

No

Monthly Salary Expectation

USD 3,500.00

Available to Join

Within a Month

Review CV

Candidate Skills

Work Experience

Internship

Development skills

HTML
CSS
Javascript
Wordpress
Objective C
GitHub
Python
JSON / XML

Javascript object array

				
					const extractObj = url => 
{
  const regex = ;
  const result = [];
  for (const match of url.matchAll(regex)) 
	{
    		result.push( );
  	}
  return result;
}

const url = 'https://yourdomain.com/products/?add-products%5B0%5D%5Bproduct-id%5D=16&add-products%5B0%5D%5Bquantity%5D=5&add-products%5B0%5D%5Bprice%5D=25.000&add-products%5B1%5D%5Bproduct-id%5D=17&add-products%5B1%5D%5Bquantity%5D=7&add-products%5B1%5D%5Bprice%5D=84.000&add-products%5B2%5D%5Bproduct-id%5D=15&add-products%5B2%5D%5Bquantity%5D=10&add-products%5B2%5D%5Bprice%5D=100.000&product-name=0&quantity=0&price=0&object_id=31';
const objects = extractObj(url);
console.log(objects);
				
			

RestAPI

				
					const extractObj = url => 
{
  const regex = ;
  const result = [];
  for (const match of url.matchAll(regex)) 
	{
    		result.push( );
  	}
  return result;
}

const url = 'https://yourdomain.com/products/?add-products%5B0%5D%5Bproduct-id%5D=16&add-products%5B0%5D%5Bquantity%5D=5&add-products%5B0%5D%5Bprice%5D=25.000&add-products%5B1%5D%5Bproduct-id%5D=17&add-products%5B1%5D%5Bquantity%5D=7&add-products%5B1%5D%5Bprice%5D=84.000&add-products%5B2%5D%5Bproduct-id%5D=15&add-products%5B2%5D%5Bquantity%5D=10&add-products%5B2%5D%5Bprice%5D=100.000&product-name=0&quantity=0&price=0&object_id=31';
const objects = extractObj(url);
console.log(objects);