Tags » Regular Expressions » Page 2

Nginx x Regex

Too many x’s in the title, right. Well that’s kind of required and interesting. In this post, we will be talking about Nginx: the web server, … 873 more words

Server

Why regular expressions should be used to represent finite state machines rather than state diagrams.

Finite state machines have inputs, outputs, and of course, a finite number of states.The states depend on the inputs, and the outputs depend on the states. 168 more words

Artificial Intelligence

Identify US States with Regular Expression

I have a dataset which consists of shipments, some of which are foreign and some of which are domestic, but the data from shipper’s REST API doesn’t distinguish them. 1,141 more words

Reg Exp: Substrings (ex: $1, $2)

I’ve recently had to learn about these substring identifiers as they are used in powershell scripts and the program, Bulk Rename Utility.

These are useful in separating a string into substrings. 72 more words

Search & Replace

From the FreeCodeCamp Intermediate Algorithms Challenges, here:

Perform a search and replace on the sentence using the arguments provided and return the new sentence. First argument is the sentence to perform the search and replace on.

312 more words
100daysofcode

Pig Latin - 'igpay atinlay'

From the FreeCodeCamp Intermediate Algorithms Challenges, here:

Translate the provided string to pig latin.

Pig Latin takes the first consonant (or consonant cluster) of an English word, moves it to the end of the word and suffixes an “ay”.

378 more words
100daysofcode