Select first letter of words

Published on Tue Mar 01 2022

Selects first letter of space separted word with exceptions. This allows bypassing `'s` and such. Forcing separating charter can be set at `[\s&\/]` $1: separating part $2: first letter of a word

Additional matching regexes for
Select first letter of words

Select first letter of words

Selects first letter of space separted word with exceptions. This allows bypassing `'s` and such. Forcing separating charter can be set at `[\s&\/]` $1: separating part $2: first letter of a word

Select any decimal

With this pattern possible select decimal that cantain comma or space

Find a select or select top in a query

Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.

Strong password

Password require: lowercase, uppercase, symbol, not consecutive same letter/number, and not some specific words

Remove Widows (PHP)

Adds a non-breaking space between the last two words of sentences

Find exeptions in log4j

regex to consider exceptions in log4j

Name Validation

Start with capital letter. Allowed special characters '(Apostrophe) -(hyphen) .(dot) (space) and can not end with -(Hyphen)

Select Chapters and Bad Headers

Selects and optionally replaces repetitive chapters, headers, and other sections with a dinkus. Does not select unique chapter titles. Useful for quickly cleaning literary datasets for finetuning a model or module. Originally designed for use with NovelAI.

Letters, numbers and blank space

The following regular expression matches only letter a-z A-Z numbers 0-9 and a blank space for a given string.

Email obfuscation

An expression that **obfuscates** with * following this rule: _<First char from email local part><Five fixed masked symbols>**@**<first domain letter><Five fixed masked symbols>**.**<tld domain>_ Example: Input: [email protected] Output: e*****@w*****.uk