Articles on Trending Technologies

Technical articles with clear explanations and examples

How can I use Python regex to split a string by multiple delimiters?

Md Waqar Tabish
Md Waqar Tabish
Updated on 02-Nov-2023 26K+ Views

Classes that encompass a collection of characters are known as regular expression classes. One of these classes, d, which matches any decimal digit, will be used. Learning how to split data may be valuable. Data arrives in various kinds and sizes, and it's sometimes not as clean as we'd like. You frequently wish to divide a string by more than one delimiter to make it easier to deal with. The built-in regular expression library re is the easiest way to split a string. The library has a.split() function that works similarly to the above example. This approach stands out since ...

Read More

How to extract date from text using Python regular expression?

Md Waqar Tabish
Md Waqar Tabish
Updated on 02-Nov-2023 12K+ Views

We must first understand some regular expression fundamentals as we will use them. There are various ways to declare patterns in regular expressions, which might make them appear complex but are pretty simple. Regular expressions are patterns that can be used to match strings that adhere to that pattern. You need to read the following article to learn how regular expressions operate. You may commonly extract dates from a given text when learning to code. If you are automating a Python script and need to extract specific numerical figures from a CSV file, if you are a data scientist and ...

Read More

Divide each row by a vector element using NumPy

Niharika Aitam
Niharika Aitam
Updated on 02-Nov-2023 1K+ Views

We can divide each row of the Numpy array by a vector element. The vector element can be a single element, multiple elements or an array. After dividing the row of an array by a vector to generate the required functionality, we use the divisor (/) operator. The division of the rows can be into 1−d or 2−d or multiple arrays. There are different ways to perform the division of each row by a vector element. Let’s see each way in detail. Using broadcasting using divide() function Using apply_along_axis() function Using broadcasting Broadcasting is the method available ...

Read More

DistroWatch Alternatives

Shirjeel Yunus
Shirjeel Yunus
Updated on 02-Nov-2023 2K+ Views

What is DistroWatch? DistroWatch is a website which consists of information about open-source operating systems. The main focus is on Linux distributions. You may find a little information about other open source operating systems but for Linux, a large amount of information is available. You can find the latest releases of Linux on the homepage of the website. Why DistroWatch Alternatives? The application has security issues How to choose a DistroWatch Alternative? There are many advantages of DistroWatch and some of them are listed below − A huge number of tools are available and they are developed ...

Read More

Baserow Alternatives

Shirjeel Yunus
Shirjeel Yunus
Updated on 02-Nov-2023 285 Views

What is Baserow? Baserow is a platform which you can use to create databases even if you do not have technical knowledge. The app has a user-friendly web interface and no coding is required to make a database. Data can be easily organized and unlimited data can be stored on this platform. You have to sign up and create an account to use the application. It uses popular frameworks like Django Vue.js and PostgreSQL. Price Plans of Baserow There are four price plans and the cost is given in the table below − Plan Price Free ...

Read More

Acronis Cyber Protect Home Office Alternatives

Shirjeel Yunus
Shirjeel Yunus
Updated on 02-Nov-2023 245 Views

What is Acronis Cyber Protect Home Office? Acronis Cyber Protect Home Office is a solution to protect all your data which may include documents, images videos, audio, and a lot more. You can also secure your entire disk which may include operating system, system files, applications and their settings, etc. Data protection and security are the main benefits of this platform. You can also take backups so that files and data can be restored in case of a disaster. You can also take online backups and the data will be stored on Acronis Cloud. Why Acronis Cyber Protect Home Office ...

Read More

How to use variables in Python regular expression?

Rajendra Dharmkar
Rajendra Dharmkar
Updated on 02-Nov-2023 10K+ Views

The following code demonstrates the use of variables in Python regex.The variable cannot contain any special or meta characters or regular expression. We just use string concatenation to create a string.Example import re s = 'I love books' var_name = 'love' result = re.search('(.+)'+var_name+'(.+)',s) print result var_name = 'hate' s2 = 'I hate books' result = re.search('(.+)'+var_name+'(.+)',s2) print resultOutputThis gives the output

Read More

How to Configure Nginx as Reverse Proxy for WebSocket

Sharon Christine
Sharon Christine
Updated on 02-Nov-2023 44K+ Views

The WebSocket is a protocol which provides a way of creating web applications that supports real-time bi-directional communication between both clients and servers. WebSocket makes it much easier to develop these types of applications. Most modern browsers support WebSocket including Firefox, Internet Explorer, Chrome, Safari, and Opera, and more and more server application frameworks are now supporting WebSocket as well.For a production environment, where multiple WebSocket servers are needed for getting a good performance and high availability of the website or application, a load balancing layer which understands the WebSocket protocol is required, NGINX supports the use of WebSocket from ...

Read More

Difference between Inverting and Non-Inverting Amplifier

Manish Kumar Saini
Manish Kumar Saini
Updated on 02-Nov-2023 50K+ Views

In electronic circuits, we use an electronic device called operational amplifier (Op-Amp). The operational amplifier is a high-gain multistage differential amplifier. It has two inputs and one output, where the input terminals are named as inverting terminal and non-inverting terminal. The inverting terminal of the Op-Amp is marked with positive (+) polarity, whereas the noninverting represents the negative (-) polarity terminal. Depending on the circuit configuration, the operational amplifier is classified into two types namely, Inverting Amplifier Non-Inverting Amplifier This article is meant for explaining the differences between an inverting amplifier and a noninverting amplifier. But before that, ...

Read More

How to add country/area code to a phone number list in Excel?

Pradeep Kumar
Pradeep Kumar
Updated on 01-Nov-2023 50K+ Views

In this tutorial, you will learn how to format phone numbers with country code using three simple methods. Method 1: Using Format for Phone Number with Country Code You need to take the following actions to be able to add a country code to the Formatted Number column. Step 1 Select the phone number from the range of cells C1:C7. Step 2 Press ctrl+1. When Format cells dialog box opens, choose Custom and type +1 (000) 000-0000, then click OK. Result Finally, the outcome with country codes in the Formatted Number cells are shown in ...

Read More
Showing 33131–33140 of 61,297 articles
Advertisements