Skip to content

NN Regex Scripts

Tenshi Hinanawi edited this page Oct 21, 2012 · 1 revision

Netizens Netbook replace scripts

Remove all spaces at end of lines (which prevent markdown line wrapping)

|s \s+$
|g 

Replace --- and ___ titles with ### ones

|s \n(?:_)+\n(.+)|\n(?:-)+\n(.+)
|g \n\n### \1

Remove all indents

|s ^\s+
|g 

Replace 1) with 1.

|s ^(\d)\)
|g \1.

Replace (1) with 1.

|s ^\s*\((\d+)\)
|g \1.

Bibliotheca Anonoma

Note: This wiki has moved to a new website. Please update your links.

Stories

Check the Workroom for content we're still reviewing.

Art

History

Books

Collections

Website Archives

Encyclopedia

Clone this wiki locally
You can’t perform that action at this time.